forked from OpenSCAP/openscap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscap-rhel6-oval.xml
3918 lines (3904 loc) · 288 KB
/
scap-rhel6-oval.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<oval_definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5"
xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"
xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5"
xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux"
xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
<generator>
<oval:product_name>vim</oval:product_name>
<oval:schema_version>5.8</oval:schema_version>
<oval:timestamp>2011-03-06T12:00:00-04:00</oval:timestamp>
</generator>
<definitions>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1000" version="1">
<metadata>
<title>Ensure that /tmp has its own partition or logical volume</title>
<reference ref_id="TBD" source="CCE"/>
<description>The /tmp directory is a world-writable directory used for temporary file storage. Verify that it has its own partition or logical volume.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10001" comment="Check in /etc/fstab for a /tmp mount point" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1001" version="1">
<metadata>
<title>Ensure that /var has its own partition or logical volume</title>
<reference ref_id="TBD" source="CCE"/>
<description>The /var directory is used by daemons and other system
services to store frequently-changing data. It is not uncommon for the /var directory
to contain world-writable directories, installed by other software packages.
Ensure that /var has its own partition or logical volume.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10011" comment="Check in /etc/fstab for a /var mount point" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1002" version="1">
<metadata>
<title>Ensure that /var/log has its own partition or logical volum</title>
<reference ref_id="TBD" source="CCE"/>
<description>System logs are stored in the /var/log directory. Ensure that it has its own partition or logical volume.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10021" comment="Check in /etc/fstab for a /var/log mount point" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1003" version="1">
<metadata>
<title>Ensure that /var/log/audit has its own partition or logical volume</title>
<reference ref_id="TBD" source="CCE"/>
<description>Audit logs are stored in the /var/log/audit directory.
Ensure that it has its own partition or logical volume. Make absolutely certain
that it is large enough to store all audit logs that will be created by the auditing
daemon.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10031" comment="Check in /etc/fstab for a /var/log/audit mount point" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1004" version="1">
<metadata>
<title>Ensure that /home has its own partition or logical volume</title>
<reference ref_id="TBD" source="CCE"/>
<description>If user home directories will be stored locally, create a separate
partition for /home. If /home will be mounted from another system such as an NFS server, then
creating a separate partition is not necessary at this time, and the mountpoint can
instead be configured later.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10041" comment="Check in /etc/fstab for a /home mount point" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1005" version="1">
<metadata>
<title>Ensure that GPG Key for Red Hat is installed</title>
<reference ref_id="TBD" source="CCE"/>
<description>The GPG key should be installed.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10051" comment="check gpg signature" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1006" version="1">
<metadata>
<title>Disable the rhnsd Daemon</title>
<reference ref_id="CCE-3416-5" source="CCE"/>
<description>The rhnsd service should be disabled.</description>
</metadata>
<criteria>
<criterion comment="Check that rhnsd service is not running" test_ref="oval:org.open-scap.rhel6:tst:10061"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1007" version="1">
<metadata>
<title>Ensure gpgcheck is Globally Activated</title>
<reference ref_id="TBD" source="CCE"/>
<description>The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
to its installation./</description>
</metadata>
<criteria>
<criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.rhel6:tst:10071" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1008" version="1">
<metadata>
<title>Ensure Package Signature Checking is Not Disabled For Any Repos</title>
<reference ref_id="TBD" source="CCE"/>
<description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
appear in any repo configuration files in /etc/yum.repos.d or elsewhere</description>
</metadata>
<criteria>
<criterion comment="check value of gpgcheck=0 in /etc/yum.repos.d/*" test_ref="oval:org.open-scap.rhel6:tst:10081" />
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1009" version="1">
<metadata>
<title>Verify Package Integrity Using RPM</title>
<reference ref_id="CCE-14931-0" source="CCE"/>
<description>Verify the integrity of installed packages by comparing the installed files with
information about the files taken from the package metadata stored in the RPM
database.</description>
</metadata>
<criteria>
<criterion comment="Unknown test stub" test_ref="oval:org.open-scap.rhel6:tst:1009"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1010" version="1">
<metadata>
<title>Verify user who owns 'shadow' file</title>
<reference ref_id="CCE-3918-0" source="CCE"/>
<description>The /etc/shadow file should be owned by the appropriate user.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10101" comment="Check file ownership of /etc/shadow"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1011" version="1">
<metadata>
<title>Verify group who owns 'shadow' file</title>
<reference ref_id="CCE-3988-3" source="CCE"/>
<description>The /etc/shadow file should be owned by the appropriate group.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10111" comment="Check file ownership of /etc/shadow"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1012" version="1">
<metadata>
<title>Verify user who owns 'group' file</title>
<reference ref_id="CCE-3276-3" source="CCE"/>
<description>The /etc/group file should be owned by the appropriate user.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10121"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1013" version="1">
<metadata>
<title>Verify group who owns 'group' file</title>
<reference ref_id="CCE-3883-6" source="CCE"/>
<description>The /etc/group file should be owned by the appropriate group.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10131"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1014" version="1">
<metadata>
<title>Verify user who owns 'gshadow' file</title>
<reference ref_id="CCE-4210-1" source="CCE"/>
<description>The /etc/gshadow file should be owned by the appropriate user.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10141"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1015" version="1">
<metadata>
<title>Verify group who owns 'gshadow' file</title>
<reference ref_id="CCE-4064-2" source="CCE"/>
<description>The /etc/gshadow file should be owned by the appropriate group.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10151"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1016" version="1">
<metadata>
<title>Verify user who owns 'passwd' file</title>
<reference ref_id="CCE-3958-6" source="CCE"/>
<description>The /etc/passwd file should be owned by the appropriate user.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10161"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1017" version="1">
<metadata>
<title>Verify group who owns 'passwd' file</title>
<reference ref_id="CCE-3495-9" source="CCE"/>
<description>The /etc/passwd file should be owned by the appropriate group.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10171"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1018" version="1">
<metadata>
<title>Verify permissions on 'shadow' file</title>
<reference ref_id="CCE-4130-1" source="CCE"/>
<description>File permissions for /etc/shadow should be set correctly.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10181"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1019" version="1">
<metadata>
<title>Verify permissions on 'group' file</title>
<reference ref_id="CCE-3967-7" source="CCE"/>
<description>File permissions for /etc/group should be set correctly.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10191"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1020" version="1">
<metadata>
<title>Verify permissions on 'gshadow' file</title>
<reference ref_id="CCE-3932-1" source="CCE"/>
<description>File permissions for /etc/gshadow should be set correctly.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10201"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1021" version="1">
<metadata>
<title>Verify permissions on 'passwd' file</title>
<reference ref_id="CCE-3566-7" source="CCE"/>
<description>File permissions for /etc/passwd should be set correctly.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10211"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1022" version="1">
<metadata>
<title>Verify that All World-Writable Directories Have Sticky Bits Set</title>
<reference ref_id="CCE-3399-3" source="CCE"/>
<description>The sticky bit should be set for all world-writable directories.</description>
</metadata>
<criteria>
<criterion comment="Check all directories and make sure they are either not world writable or if they are they have the sticky bit set" test_ref="oval:org.open-scap.rhel6:tst:10221"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1023" version="1">
<metadata>
<title>Find Unauthorized World-Writable Files</title>
<reference ref_id="CCE-3795-2" source="CCE"/>
<description>The world-write permission should be disabled for all files.</description>
</metadata>
<criteria>
<criterion comment="Check all files and make sure they are not world writable" test_ref="oval:org.open-scap.rhel6:tst:10231"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1024" version="1">
<metadata>
<title>Find Unauthorized SGID System Executables</title>
<reference ref_id="CCE-4178-0" source="CCE"/>
<description>The sgid bit should be not set for all executable files.</description>
</metadata>
<criteria>
<criterion comment="Check that there are no unexpected files with sgid bit set" test_ref="oval:org.open-scap.rhel6:tst:10241"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1025" version="1">
<metadata>
<title>Find Unauthorized SUID System Executables</title>
<reference ref_id="CCE-3324-1" source="CCE"/>
<description>The suid bit should be not set for all files.</description>
</metadata>
<criteria>
<criterion comment="Check that there are no unexpected files with suid bit set" test_ref="oval:org.open-scap.rhel6:tst:10251"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1026" version="1">
<metadata>
<title>Find files unowned by a user</title>
<reference ref_id="CCE-4223-4" source="CCE"/>
<description>All files should be owned by a user</description>
</metadata>
<criteria>
<criterion comment="Check all files and make sure they are owned by a user" test_ref="oval:org.open-scap.rhel6:tst:10261"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1027" version="1">
<metadata>
<title>Find files unowned by a group</title>
<reference ref_id="CCE-3573-3" source="CCE"/>
<description>All files should be owned by a group</description>
</metadata>
<criteria>
<criterion comment="Check all files and make sure they are owned by a group" test_ref="oval:org.open-scap.rhel6:tst:10271"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1028" version="1">
<metadata>
<title>Find world writable directories not owned by a system account</title>
<reference ref_id="CCE-14794-2" source="CCE"/>
<description>All world writable directories should be owned by a system user</description>
</metadata>
<criteria>
<criterion comment="Check all directories are not world writable or owned by a user with uid less than 500" test_ref="oval:org.open-scap.rhel6:tst:10281"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1029" version="1">
<metadata>
<title>Set Daemon umask</title>
<reference ref_id="CCE-4220-0" source="CCE"/>
<description>The daemon umask should be set as appropriate</description>
</metadata>
<criteria>
<criterion comment="Check /etc/init.d/functions sets umask as requried" test_ref="oval:org.open-scap.rhel6:tst:10291"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1030" version="1">
<metadata>
<title>Disable Core Dumps</title>
<reference ref_id="CCE-4225-9" source="CCE"/>
<description>Core dumps for all users should be disabled</description>
</metadata>
<criteria>
<criterion comment="Are core dumps disabled" test_ref="oval:org.open-scap.rhel6:tst:10301"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1031" version="1">
<metadata>
<title>Disable Core Dumps for setuid programs</title>
<reference ref_id="CCE-4247-3" source="CCE"/>
<description>Core dumps for setuid programs should be disabled</description>
</metadata>
<criteria>
<criterion comment="Are core dumps for setuid programs disabled?" test_ref="oval:org.open-scap.rhel6:tst:10311"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1032" version="1">
<metadata>
<title>Enable ExecShield</title>
<reference ref_id="CCE-4168-1" source="CCE"/>
<description>ExecShield should be enabled</description>
</metadata>
<criteria>
<criterion comment="Is execshield enabled" test_ref="oval:org.open-scap.rhel6:tst:10321"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1033" version="1">
<metadata>
<title>Enable ExecShield randomized placement of virtual memory regions</title>
<reference ref_id="CCE-4146-7" source="CCE"/>
<description>ExecShield randomized placement of virtual memory regions should be enabled</description>
</metadata>
<criteria>
<criterion comment="check ExecShield randomized placement of virtual memory regions" test_ref="oval:org.open-scap.rhel6:tst:10331"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1034" version="1">
<metadata>
<title>Prevent Root Logins to Virtual Consoles</title>
<reference ref_id="TBD" source="CCE"/>
<description>Root logins through virtual console devices should be disabled</description>
</metadata>
<criteria>
<criterion comment="Virtual consoles are not in /etc/securetty" test_ref="oval:org.open-scap.rhel6:tst:10341"/>
<criterion comment="The user running the evaluation can read /etc/securetty" test_ref="oval:org.open-scap.rhel6:tst:10342"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1035" version="1">
<metadata>
<title>Prevent Root Logins to Serial Consoles</title>
<reference ref_id="TBD" source="CCE"/>
<description>Root logins through serial port devices should be disabled</description>
</metadata>
<criteria>
<criterion comment="Serial ports are not in /etc/securetty" test_ref="oval:org.open-scap.rhel6:tst:10351"/>
<criterion comment="The user running the evaluation can read /etc/securetty" test_ref="oval:org.open-scap.rhel6:tst:10342"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1036" version="1">
<metadata>
<title>Limit su Access to the wheel group</title>
<reference source="CCE" ref_id="CCE-14088-9"/>
<description>The wheel group should exist</description>
</metadata>
<criteria>
<criterion comment="Does wheel group exist" test_ref="oval:org.open-scap.rhel6:tst:10361"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1037" version="1">
<metadata>
<title>Limit command Access to the Root Account</title>
<reference source="CCE" ref_id="CCE-15047-4"/>
<description>Command access to the root account should be restricted to the wheel group.</description>
</metadata>
<criteria>
<criterion comment="su is restricted to the wheel group" test_ref="oval:org.open-scap.rhel6:tst:10371"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1038" version="1">
<metadata>
<title>Block Shell and Login Access for Non-Root System Accounts</title>
<reference ref_id="CCE-3987-5" source="CCE"/>
<description>Login access to non-root system accounts should be disabled</description>
</metadata>
<criteria>
<criterion comment="check /etc/passwd for /sbin/nologin on non root system accounts" test_ref="oval:org.open-scap.rhel6:tst:10381"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1039" version="1">
<metadata>
<title>Verify that No Accounts Have Empty Password Fields</title>
<reference ref_id="CCE-4238-2" source="CCE"/>
<description>Login access to accounts without passwords should be disabled</description>
</metadata>
<criteria>
<criterion comment="No account in /etc/shadow has an empty password field" test_ref="oval:org.open-scap.rhel6:tst:10391"/>
<criterion comment="The user running the evaluation can read /etc/shadow" test_ref="oval:org.open-scap.rhel6:tst:10392"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1040" version="1">
<metadata>
<title>Verify that All Account Password Hashes are Shadowed</title>
<reference ref_id="CCE-14300-8" source="CCE"/>
<description>Check that passwords are shadowed</description>
</metadata>
<criteria>
<criterion comment="All accounds in /etc/passwd contain a shadow marker" test_ref="oval:org.open-scap.rhel6:tst:10401"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1041" version="1">
<metadata>
<title>Verify that No Non-Root Accounts Have UID 0</title>
<reference ref_id="CCE-4009-7" source="CCE"/>
<description>Anonymous root logins are disabled</description>
</metadata>
<criteria>
<criterion comment="conditions are satisfied" test_ref="oval:org.open-scap.rhel6:tst:10411"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1042" version="1">
<metadata>
<title>Set Password Expiration Parameters</title>
<reference ref_id="CCE-4180-6" source="CCE"/>
<description>The "minimum password age" policy should meet minimum requirements. </description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10421"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1043" version="1">
<metadata>
<title>Set Password Expiration Parameters</title>
<reference ref_id="CCE-4092-3" source="CCE"/>
<description>The "maximum password age" policy should meet minimum requirements. </description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10431"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1044" version="1">
<metadata>
<title>Set Password Expiration Parameters</title>
<reference ref_id="CCE-4097-2" source="CCE"/>
<description>The password warn age should be set appropriately</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10441"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1045" version="1">
<metadata>
<title>Set Password retry Requirements</title>
<reference ref_id="CCE-15054-0" source="CCE"/>
<description>The password retry should meet minimum requirements using pam_cracklib</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_cracklib retry is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10451"/>
<criterion comment="pam_cracklib retry is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10452"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1046" version="1">
<metadata>
<title>Set Minimum Password Length Requirement</title>
<reference ref_id="CCE-4154-1" source="CCE"/>
<description>The password minimum length should be set appropriately</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_cracklib minlen is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10461"/>
<criterion comment="pam_cracklib minlen is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10462"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1047" version="1">
<metadata>
<title>Set Password dcredit Requirements</title>
<reference ref_id="CCE-14113-5" source="CCE"/>
<description>The password dcredit should meet minimum requirements using pam_cracklib</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_cracklib dcredit is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10471"/>
<criterion comment="pam_cracklib dcredit is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10472"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1048" version="1">
<metadata>
<title>Set Password ucredit Requirements</title>
<reference ref_id="CCE-14672-0" source="CCE"/>
<description>The password ucredit should meet minimum requirements using pam_cracklib</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_cracklib ucredit is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10481"/>
<criterion comment="pam_cracklib ucredit is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10482"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1049" version="1">
<metadata>
<title>Set Password ocredit Requirements</title>
<reference ref_id="CCE-14122-6" source="CCE"/>
<description>The password ocredit should meet minimum requirements using pam_cracklib</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_cracklib ocredit is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10491"/>
<criterion comment="pam_cracklib ocredit is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10492"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1050" version="1">
<metadata>
<title>Set Password lcredit Requirements</title>
<reference ref_id="CCE-14712-4" source="CCE"/>
<description>The password lcredit should meet minimum requirements using pam_cracklib</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_cracklib lcredit is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10501"/>
<criterion comment="pam_cracklib lcredit is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10502"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1051" version="1">
<metadata>
<title>Set Password difok Requirements</title>
<reference ref_id="CCE-14701-7" source="CCE"/>
<description>The password difok should meet minimum requirements using pam_cracklib</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_cracklib difok is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10511"/>
<criterion comment="pam_cracklib difok is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10512"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1052" version="1">
<metadata>
<title>Set pam_passwdqc min parameter</title>
<reference ref_id="TBD" source="CCE"/>
<description>pam_passwd should be configured with the specified "min" value</description>
</metadata>
<criteria operator="AND">
<criterion comment="pam_passwdqc min is defined in /etc/pam.d/system-auth" test_ref="oval:org.open-scap.rhel6:tst:10521"/>
<criterion comment="pam_passwdqc min is defined in /etc/pam.d/password-auth" test_ref="oval:org.open-scap.rhel6:tst:10522"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1053" version="1">
<metadata>
<title>Set Password hashing algorithm</title>
<reference ref_id="CCE-14063-2" source="CCE"/>
<description>The password hashing algorithm should be set correctly.</description>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:org.open-scap.rhel6:tst:10531" comment="Password hashing algorithm is configured in /etc/pam.d/system-auth"/>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10532" comment="Password hashing algorithm is configured in /etc/pam.d/password-auth"/>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10533" comment="Password hashing algorithm is configured in /etc/login.defs"/>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10534" comment="Password hashing algorithm is configured in /etc/libuser.conf"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1054" version="1">
<metadata>
<title>Limit password reuse</title>
<reference ref_id="CCE-14939-3" source="CCE"/>
<description>The passwords to remember should be set correctly.</description>
</metadata>
<criteria operator="ONE">
<criterion test_ref="oval:org.open-scap.rhel6:tst:10541" comment="Passwords to remember is configured to 0"/>
<criteria operator="AND">
<criterion test_ref="oval:org.open-scap.rhel6:tst:10541" comment="Passwords to remember is configured to 0 (note this is negated)" negate="true"/>
<criterion comment="check pam_pwhistory in /etc/pam.d/system-auth has a remember option set appropriately"
test_ref="oval:org.open-scap.rhel6:tst:10542"/>
<criterion comment="check pam_pwhistory in /etc/pam.d/password-auth has a remember option set appropriately"
test_ref="oval:org.open-scap.rhel6:tst:10543"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1055" version="1">
<metadata>
<title>Ensure that No Dangerous Directories Exist in Root's Path</title>
<reference ref_id="CCE-3301-9" source="CCE"/>
<description>The PATH variable should be set correctly for user root</description>
</metadata>
<criteria> <!-- Note that this actually tests our PATH, not necessarily root's PATH -->
<criterion comment="PATH in environment does not include the current directory" test_ref="oval:org.open-scap.rhel6:tst:10551"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1056" version="1">
<metadata>
<title>Write permissions are disabled for group and other in all directories in Root's Path</title>
<reference ref_id="CCE-14957-5" source="CCE"/>
<description>Check each directory in root's path and make use it does not grant write permission to group and other</description>
</metadata>
<criteria>
<criterion comment="Check that write permission to group and other in root's path is denied" test_ref="oval:org.open-scap.rhel6:tst:10561"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1057" version="1">
<metadata>
<title>Ensure that User Home Directories are not Group-Writable or World-Readable</title>
<reference ref_id="CCE-4090-7" source="CCE"/>
<description>File permissions should be set correctly for the home directories for all user accounts.</description>
</metadata>
<!-- We ignore directories of system users (UID<500 except root), these are often world-readable -->
<criteria>
<criterion comment="Home directories are neither group/world writable nor world-readable" test_ref="oval:org.open-scap.rhel6:tst:10571"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1058" version="1">
<metadata>
<title>Ensure that User Dot-Files are not World-writable</title>
<reference ref_id="TBD" source="CCE"/>
<description>File permissions should be set correctly for dot files for all user accounts.</description>
</metadata>
<criteria>
<criterion comment="Dot files not world-writable" test_ref="oval:org.open-scap.rhel6:tst:10581"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1059" version="1">
<metadata>
<title>Ensure that Users Have Sensible Umask Values set for bash</title>
<description>The default umask for all users should be set correctly for the bash shell</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10591" comment="umask in /etc/bashrc is sensible"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1060" version="1">
<metadata>
<title>Ensure that Users Have Sensible Umask Values set for csh</title>
<reference ref_id="CCE-4227-5" source="CCE"/>
<description>The default umask for all users should be set correctly for the csh shell</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10601" comment="umask in /etc/csh.cshrc is sensible"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1061" version="1">
<metadata>
<title>Ensure that Users Have Sensible Umask Values in /etc/login.defs</title>
<reference ref_id="CCE-14107-7" source="CCE"/>
<description>The default umask for all users should be set correctly</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10611" comment="UMASK in /etc/login.defs is sensible"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1062" version="1">
<metadata>
<title>Ensure that Users Have Sensible Umask Values set in /etc/profile</title>
<reference ref_id="TBD" source="CCE"/>
<description>The default umask for all users should be set correctly in /etc/profile</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10621" comment="umask in /etc/profile is sensible"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1063" version="1">
<metadata>
<title>Ensure that Users Don't have .netrc files</title>
<reference ref_id="TBD" source="CCE"/>
<description>No user home directroy should contain a .netrc file</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10631" comment="No ~/.netrc files exist"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1064" version="1">
<metadata>
<title>Set Boot Loader Configuration Owner</title>
<reference ref_id="CCE-4144-2" source="CCE"/>
<description>The /boot/grub/grub.conf file should be owned by the appropriate user.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10641" comment="Correct owner of /boot/grub/grub.conf"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1065" version="1">
<metadata>
<title>Set Boot Configuration Group</title>
<reference ref_id="CCE-4197-0" source="CCE"/>
<description>The /boot/grub/grub.conf file should be owned by the appropriate group.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10651" comment="Correct owner of /boot/grub/grub.conf"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1066" version="1">
<metadata>
<title>Set Boot Configuration Permissions</title>
<reference ref_id="CCE-3923-0" source="CCE"/>
<description>File permissions for /boot/grub/grub.conf should be set correctly.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10661" comment="Correct permissions of /boot/grub/grub.conf"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1067" version="1">
<metadata>
<title>Set Boot Loader Password</title>
<reference ref_id="CCE-3818-2" source="CCE"/>
<description>The grub boot loader should have password protection enabled</description>
</metadata>
<!-- Notes that sha-512 support is only added in RHEL6.1 -->
<criteria>
<criterion comment="Boot password is defined and encrypted using sha-512" test_ref="oval:org.open-scap.rhel6:tst:10671"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1068" version="1">
<metadata>
<title>Require Authentication for Single-User Mode</title>
<reference ref_id="CCE-4241-6" source="CCE"/>
<description>The requirement for a password to boot into single-user mode should be configured correctly.</description>
</metadata>
<criteria>
<criterion comment="Single-user mode requires a password" test_ref="oval:org.open-scap.rhel6:tst:10681"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1069" version="1">
<metadata>
<title>Disable Interactive Boot</title>
<reference ref_id="CCE-4245-7" source="CCE"/>
<description>The ability for users to perform interactive startups should be disabled.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10691" comment="Interactive boot is disabled"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1070" version="1">
<metadata>
<title>Implement Inactivity Time-out for Bourne Shells</title>
<reference ref_id="CCE-3707-7" source="CCE"/>
<description>The idle time-out value for the /bin/bash shell should meet the minimum requirements.</description>
</metadata>
<criteria>
<criterion comment="/etc/profile.d/tmout.sh is set up" test_ref="oval:org.open-scap.rhel6:tst:10701"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1071" version="1">
<metadata>
<title>Implement Inactivity Time-out for C Shells</title>
<reference ref_id="CCE-3707-7" source="CCE"/>
<description>The idle time-out value for the /bin/tcsh shell should meet the minimum requirements.</description>
</metadata>
<criteria>
<criterion comment="/etc/profile.d/autologout.csh is set up" test_ref="oval:org.open-scap.rhel6:tst:10711"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1072" version="1">
<metadata>
<title>Configure GUI Screen Locking</title>
<reference ref_id="CCE-3315-9" source="CCE"/>
<description>The allowed period of inactivity for GNOME desktop lockout should be configured correctly.</description>
</metadata>
<criteria>
<criterion comment="check value of /desktop/gnome/session/idle_delay in GConf" test_ref="oval:org.open-scap.rhel6:tst:10721"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1073" version="1">
<metadata>
<title>Implement idle activation of screen saver</title>
<reference ref_id="CCE-14604-3" source="CCE"/>
<description>Idle activation of the screen saver should be enabled.</description>
</metadata>
<criteria>
<criterion comment="check value of /apps/gnome-screensaver/idle_activation_enabled in GConf" test_ref="oval:org.open-scap.rhel6:tst:10731"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1074" version="1">
<metadata>
<title>Lock the screensaver with a password</title>
<reference ref_id="CCE-14023-6" source="CCE"/>
<description>Screensaver should be locked with a password.</description>
</metadata>
<criteria>
<criterion comment="check value of /apps/gnome-screensaver/lock_enabled in GConf" test_ref="oval:org.open-scap.rhel6:tst:10741"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1075" version="1">
<metadata>
<title>Implement blank screen saver</title>
<reference ref_id="CCE-14735-5" source="CCE"/>
<description>The screen saver should be blank.</description>
</metadata>
<criteria>
<criterion comment="check value of /apps/gnome-screensaver/mode in GConf" test_ref="oval:org.open-scap.rhel6:tst:10751"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1076" version="1">
<metadata>
<title>Configure GUI Screen Locking</title>
<reference ref_id="CCE-3910-7" source="CCE"/>
<description>The vlock package should be installed</description>
</metadata>
<criteria>
<criterion comment="vlock is installed" test_ref="oval:org.open-scap.rhel6:tst:10761"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1077" version="1">
<metadata>
<title>Modify the System Login Banner</title>
<reference ref_id="CCE-4060-0" source="CCE"/>
<description>The system login banner text should be set correctly.</description>
</metadata>
<criteria>
<criterion comment="/etc/issue is set appropriately" test_ref="oval:org.open-scap.rhel6:tst:10771"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1078" version="1">
<metadata>
<title>Implement a GUI Warning Banner</title>
<reference ref_id="CCE-4188-9" source="CCE"/>
<description>The direct GNOME login warning banner should be set correctly.</description>
</metadata>
<criteria>
<criterion comment="Check value of /apps/gdm/simple-greeter/banner_message_enable in GConf" test_ref="oval:org.open-scap.rhel6:tst:10781"/>
<criterion comment="Check value of /apps/gdm/simple-greeter/banner_message_text in GConf" test_ref="oval:org.open-scap.rhel6:tst:10782"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1079" version="1">
<metadata>
<title>Enable SELinux</title>
<reference ref_id="CCE-3977-6" source="CCE"/>
<description>SELinux should not be disabled in /boot/grub/grub.conf</description>
</metadata>
<criteria>
<criterion comment="Check /boot/grub/grub.conf does not contain selinux=0" test_ref="oval:org.open-scap.rhel6:tst:10791"/>
<criterion comment="Check /boot/grub/grub.conf does not contain enforcing=0" test_ref="oval:org.open-scap.rhel6:tst:10792"/>
<criterion comment="The user running the evaluation can read /boot/grub/grub.conf" test_ref="oval:org.open-scap.rhel6:tst:10793"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1080" version="1">
<metadata>
<title>Enable SELinux state</title>
<reference ref_id="CCE-3999-0" source="CCE"/>
<description>The SELinux state should be set appropriately.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10801" comment="Check SELINUX in /etc/selinux/config"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1081" version="1">
<metadata>
<title>Set SELinux Polixy</title>
<reference ref_id="CCE-3624-4" source="CCE"/>
<description>The SELinux policy should be set appropriately.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10811" comment="Check SELINUXTYPE in /etc/selinux/config"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1082" version="1">
<metadata>
<title>Remove SETroubleshoot if Possible</title>
<reference ref_id="CCE-4148-3" source="CCE"/>
<description>The setroubleshoot package should be uninstalled.</description>
</metadata>
<criteria>
<criterion comment="setroubleshoot-server is not installed" test_ref="oval:org.open-scap.rhel6:tst:10821"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1083" version="1">
<metadata>
<title>Disable MCS Translation Service (mcstrans) if Possible</title>
<reference ref_id="CCE-3668-1" source="CCE"/>
<description>The mcstrans service should be disabled.</description>
</metadata>
<criteria>
<criterion comment="mcstrans is disabled" test_ref="oval:org.open-scap.rhel6:tst:10831"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1084" version="1">
<metadata>
<title>Network Parameters for Hosts Only</title>
<reference ref_id="CCE-4151-7" source="CCE"/>
<description>The default setting for sending ICMP redirects should be disabled for network interfaces.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10841" comment="Check /proc/sys/net/ipv4/conf/default/send_redirects"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1085" version="1">
<metadata>
<title>Network Parameters for Hosts Only</title>
<reference ref_id="CCE-4155-8" source="CCE"/>
<description>Sending ICMP redirects should be disabled for all interfaces.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10851" comment="Check /proc/sys/net/ipv4/conf/all/send_redirects"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1086" version="1">
<metadata>
<title>Network Parameters for Hosts Only</title>
<reference ref_id="CCE-3561-8" source="CCE"/>
<description>IP forwarding should be disabled.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10861" comment="Check /proc/sys/net/ipv4/ip_forward"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1087" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-4236-6" source="CCE"/>
<description>Accepting source routed packets should be enabled or disabled for all interfaces as appropriate.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10871" comment="Check /proc/sys/net/ipv4/conf/all/accept_source_route"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1088" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-4217-6" source="CCE"/>
<description>Accepting ICMP redirects should be enabled or disabled for all interfaces as appropriate.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10881" comment="Check /proc/sys/net/ipv4/conf/all/accept_redirects"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1089" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-3472-8" source="CCE"/>
<description>Accepting "secure" ICMP redirects (those from gateways listed in the default gateways list) should be enabled or disabled for all interfaces as appropriate.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10891" comment="Check /proc/sys/net/ipv4/conf/all/secure_redirects"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1090" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-4320-8" source="CCE"/>
<description>Logging of "martian" packets (those with impossible addresses) should be enabled or disabled for all interfaces as appropriate.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10901" comment="Check /proc/sys/net/ipv4/conf/all/log_martians"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1091" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-4091-5" source="CCE"/>
<description>The default setting for accepting source routed packets should be enabled or disabled for network interfaces as appropriate.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10911" comment="Check /proc/sys/net/ipv4/conf/default/accept_source_route"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1092" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-4186-3" source="CCE"/>
<description>The default setting for accepting ICMP redirects should be enabled or disabled for network interfaces as appropriate.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10921" comment="Check /proc/sys/net/ipv4/conf/default/accept_redirects"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1093" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-3339-9" source="CCE"/>
<description>The default setting for accepting "secure" ICMP redirects (those from gateways listed in the default gateways list) should be enabled or disabled for network interfaces as appropriate.</description>
</metadata>
<criteria>
<criterion test_ref="oval:org.open-scap.rhel6:tst:10931" comment="Check /proc/sys/net/ipv4/conf/default/secure_redirects"/>
</criteria>
</definition>
<definition class="compliance" id="oval:org.open-scap.rhel6:def:1094" version="1">
<metadata>
<title>Network Parameters for Hosts and Routers</title>
<reference ref_id="CCE-4320-8" source="CCE"/>
<description>Default logging of "martian" packets (those with impossible addresses) should be enabled or disabled for network interfaces as appropriate.</description>
</metadata>