/usr/share/scap-security-guide/ssg-debian8-oval.xml is in ssg-debian 0.1.31-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 | <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">
<generator>
<oval:product_name>python</oval:product_name>
<oval:product_version>2.7.13+</oval:product_version>
<oval:schema_version>5.11</oval:schema_version>
<oval:timestamp>2017-08-11T21:23:21</oval:timestamp>
</generator>
<definitions>
<definition class="compliance" id="oval:ssg-rsyslog_files_groupownership:def:1" version="1">
<metadata>
<title>Confirm Existence and Permissions of System Log Files</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>All syslog log files should be owned by the appropriate group.</description>
<reference ref_id="rsyslog_files_groupownership" source="ssg"/></metadata>
<criteria>
<criterion comment="Check if all system log files are owned by root group" test_ref="oval:ssg-test_rsyslog_files_groupownership:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-rsyslog_files_permissions:def:1" version="1">
<metadata>
<title>Confirm Existence and Permissions of System Log Files</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>File permissions for all syslog log files should be set correctly.</description>
<reference ref_id="rsyslog_files_permissions" source="ssg"/></metadata>
<criteria>
<criterion comment="Check permissions of all system log files" test_ref="oval:ssg-test_rsyslog_files_permissions:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-file_permissions_etc_group:def:1" version="1">
<metadata>
<title>Verify /etc/group Permissions</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>This test makes sure that /etc/group is owned by 0, group owned by 0, and has mode 0644. If
the target file or directory has an extended ACL then it will fail the mode check.</description>
<reference ref_id="file_permissions_etc_group" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_etc_group:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-file_permissions_etc_gshadow:def:1" version="1">
<metadata>
<title>Verify /etc/gshadow Permissions</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>This test makes sure that /etc/gshadow is owned by 0, group owned by 42, and has mode 0640. If
the target file or directory has an extended ACL then it will fail the mode check.</description>
<reference ref_id="file_permissions_etc_gshadow" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_etc_gshadow:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-file_permissions_etc_passwd:def:1" version="1">
<metadata>
<title>Verify /etc/passwd Permissions</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>This test makes sure that /etc/passwd is owned by 0, group owned by 0, and has mode 0644. If
the target file or directory has an extended ACL then it will fail the mode check.</description>
<reference ref_id="file_permissions_etc_passwd" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_etc_passwd:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-file_permissions_etc_shadow:def:1" version="1">
<metadata>
<title>Verify /etc/shadow Permissions</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>This test makes sure that /etc/shadow is owned by 0, group owned by 42, and has mode 0640. If
the target file or directory has an extended ACL then it will fail the mode check.</description>
<reference ref_id="file_permissions_etc_shadow" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_etc_shadow:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_auditd_installed:def:1" version="1">
<metadata>
<title>Package auditd Installed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package auditd should be installed.</description>
<reference ref_id="package_auditd_installed" source="ssg"/></metadata>
<criteria>
<criterion comment="package auditd is installed" test_ref="oval:ssg-test_package_auditd_installed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_cron_installed:def:1" version="1">
<metadata>
<title>Package cron Installed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package cron should be installed.</description>
<reference ref_id="package_cron_installed" source="ssg"/></metadata>
<criteria>
<criterion comment="package cron is installed" test_ref="oval:ssg-test_package_cron_installed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_inetutils-telnetd_removed:def:1" version="1">
<metadata>
<title>Package inetutils-telnetd Removed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package inetutils-telnetd should be removed.</description>
<reference ref_id="package_inetutils-telnetd_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package inetutils-telnetd is removed" test_ref="oval:ssg-test_package_inetutils-telnetd_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_nis_removed:def:1" version="1">
<metadata>
<title>Package nis Removed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package nis should be removed.</description>
<reference ref_id="package_nis_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package nis is removed" test_ref="oval:ssg-test_package_nis_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_ntp_installed:def:1" version="1">
<metadata>
<title>Package ntp Installed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package ntp should be installed.</description>
<reference ref_id="package_ntp_installed" source="ssg"/></metadata>
<criteria>
<criterion comment="package ntp is installed" test_ref="oval:ssg-test_package_ntp_installed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_ntpdate_removed:def:1" version="1">
<metadata>
<title>Package ntpdate Removed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package ntpdate should be removed.</description>
<reference ref_id="package_ntpdate_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package ntpdate is removed" test_ref="oval:ssg-test_package_ntpdate_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_openssh-server_removed:def:1" version="1">
<metadata>
<title>Package openssh-server Removed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package openssh-server should be removed.</description>
<reference ref_id="package_openssh-server_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package openssh-server is removed" test_ref="oval:ssg-test_package_openssh-server_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_rsyslog_installed:def:1" version="1">
<metadata>
<title>Package rsyslog Installed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package rsyslog should be installed.</description>
<reference ref_id="package_rsyslog_installed" source="ssg"/></metadata>
<criteria>
<criterion comment="package rsyslog is installed" test_ref="oval:ssg-test_package_rsyslog_installed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_telnetd-ssl_removed:def:1" version="1">
<metadata>
<title>Package telnetd-ssl Removed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package telnetd-ssl should be removed.</description>
<reference ref_id="package_telnetd-ssl_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package telnetd-ssl is removed" test_ref="oval:ssg-test_package_telnetd-ssl_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_telnetd_removed:def:1" version="1">
<metadata>
<title>Package telnetd Removed</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The DEB package telnetd should be removed.</description>
<reference ref_id="package_telnetd_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package telnetd is removed" test_ref="oval:ssg-test_package_telnetd_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-service_auditd_enabled:def:1" version="1">
<metadata>
<title>Service auditd Enabled</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The auditd service should be enabled if possible.</description>
<reference ref_id="service_auditd_enabled" source="ssg"/></metadata>
<criteria comment="package auditd installed and service auditd is configured to start" operator="AND">
<extend_definition comment="auditd installed" definition_ref="oval:ssg-package_auditd_installed:def:1"/>
<criteria operator="OR" comment="service auditd is configured to start">
<criterion comment="multi-user.target wants auditd" test_ref="oval:ssg-test_multi_user_wants_auditd:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-service_cron_enabled:def:1" version="1">
<metadata>
<title>Service cron Enabled</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The cron service should be enabled if possible.</description>
<reference ref_id="service_cron_enabled" source="ssg"/></metadata>
<criteria comment="package cron installed and service cron is configured to start" operator="AND">
<extend_definition comment="cron installed" definition_ref="oval:ssg-package_cron_installed:def:1"/>
<criteria operator="OR" comment="service cron is configured to start">
<criterion comment="multi-user.target wants cron" test_ref="oval:ssg-test_multi_user_wants_cron:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-service_ntpd_enabled:def:1" version="1">
<metadata>
<title>Service ntpd Enabled</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The ntpd service should be enabled if possible.</description>
<reference ref_id="service_ntpd_enabled" source="ssg"/></metadata>
<criteria comment="package ntp installed and service ntpd is configured to start" operator="AND">
<extend_definition comment="ntp installed" definition_ref="oval:ssg-package_ntp_installed:def:1"/>
<criteria operator="OR" comment="service ntpd is configured to start">
<criterion comment="multi-user.target wants ntpd" test_ref="oval:ssg-test_multi_user_wants_ntpd:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-service_rsyslog_enabled:def:1" version="1">
<metadata>
<title>Service rsyslog Enabled</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The rsyslog service should be enabled if possible.</description>
<reference ref_id="service_rsyslog_enabled" source="ssg"/></metadata>
<criteria comment="package rsyslog installed and service rsyslog is configured to start" operator="AND">
<extend_definition comment="rsyslog installed" definition_ref="oval:ssg-package_rsyslog_installed:def:1"/>
<criteria operator="OR" comment="service rsyslog is configured to start">
<criterion comment="multi-user.target wants rsyslog" test_ref="oval:ssg-test_multi_user_wants_rsyslog:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-service_sshd_disabled:def:1" version="1">
<metadata>
<title>Service sshd Disabled</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The sshd service should be disabled if possible.</description>
<reference ref_id="service_sshd_disabled" source="ssg"/></metadata>
<criteria comment="package openssh-server removed or service sshd is not configured to start" operator="OR">
<extend_definition comment="openssh-server removed" definition_ref="oval:ssg-package_openssh-server_removed:def:1"/>
<criteria operator="OR" comment="service sshd is not configured to start">
<criterion comment="sshd not wanted by multi-user.target" test_ref="oval:ssg-test_sshd_not_wanted_by_multi_user_target:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_fs_protected_hardlinks:def:1" version="3">
<metadata>
<title>Kernel "fs.protected_hardlinks" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "fs.protected_hardlinks" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_fs_protected_hardlinks" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="fs.protected_hardlinks configuration setting check" definition_ref="oval:ssg-sysctl_static_fs_protected_hardlinks:def:1"/>
<extend_definition comment="fs.protected_hardlinks runtime setting check" definition_ref="oval:ssg-sysctl_runtime_fs_protected_hardlinks:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_fs_protected_symlinks:def:1" version="3">
<metadata>
<title>Kernel "fs.protected_symlinks" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "fs.protected_symlinks" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_fs_protected_symlinks" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="fs.protected_symlinks configuration setting check" definition_ref="oval:ssg-sysctl_static_fs_protected_symlinks:def:1"/>
<extend_definition comment="fs.protected_symlinks runtime setting check" definition_ref="oval:ssg-sysctl_runtime_fs_protected_symlinks:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_fs_suid_dumpable:def:1" version="3">
<metadata>
<title>Kernel "fs.suid_dumpable" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "fs.suid_dumpable" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_fs_suid_dumpable" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="fs.suid_dumpable configuration setting check" definition_ref="oval:ssg-sysctl_static_fs_suid_dumpable:def:1"/>
<extend_definition comment="fs.suid_dumpable runtime setting check" definition_ref="oval:ssg-sysctl_runtime_fs_suid_dumpable:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_dmesg_restrict:def:1" version="3">
<metadata>
<title>Kernel "kernel.dmesg_restrict" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.dmesg_restrict" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_dmesg_restrict" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.dmesg_restrict configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_dmesg_restrict:def:1"/>
<extend_definition comment="kernel.dmesg_restrict runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_dmesg_restrict:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_kptr_restrict:def:1" version="3">
<metadata>
<title>Kernel "kernel.kptr_restrict" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.kptr_restrict" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_kptr_restrict" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.kptr_restrict configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_kptr_restrict:def:1"/>
<extend_definition comment="kernel.kptr_restrict runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_kptr_restrict:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_perf_cpu_time_max_percent:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_cpu_time_max_percent" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.perf_cpu_time_max_percent" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_perf_cpu_time_max_percent" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.perf_cpu_time_max_percent configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_perf_cpu_time_max_percent:def:1"/>
<extend_definition comment="kernel.perf_cpu_time_max_percent runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_perf_cpu_time_max_percent:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_perf_event_max_sample_rate:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_event_max_sample_rate" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.perf_event_max_sample_rate" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_perf_event_max_sample_rate" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.perf_event_max_sample_rate configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_perf_event_max_sample_rate:def:1"/>
<extend_definition comment="kernel.perf_event_max_sample_rate runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_perf_event_max_sample_rate:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_perf_event_paranoid:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_event_paranoid" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.perf_event_paranoid" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_perf_event_paranoid" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.perf_event_paranoid configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_perf_event_paranoid:def:1"/>
<extend_definition comment="kernel.perf_event_paranoid runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_perf_event_paranoid:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_pid_max:def:1" version="3">
<metadata>
<title>Kernel "kernel.pid_max" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.pid_max" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_pid_max" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.pid_max configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_pid_max:def:1"/>
<extend_definition comment="kernel.pid_max runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_pid_max:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_randomize_va_space:def:1" version="3">
<metadata>
<title>Kernel "kernel.randomize_va_space" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.randomize_va_space" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_randomize_va_space" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.randomize_va_space configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_randomize_va_space:def:1"/>
<extend_definition comment="kernel.randomize_va_space runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_randomize_va_space:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_kernel_sysrq:def:1" version="3">
<metadata>
<title>Kernel "kernel.sysrq" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "kernel.sysrq" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_kernel_sysrq" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="kernel.sysrq configuration setting check" definition_ref="oval:ssg-sysctl_static_kernel_sysrq:def:1"/>
<extend_definition comment="kernel.sysrq runtime setting check" definition_ref="oval:ssg-sysctl_runtime_kernel_sysrq:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_net_ipv4_ip_forward:def:1" version="3">
<metadata>
<title>Kernel "net.ipv4.ip_forward" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "net.ipv4.ip_forward" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_net_ipv4_ip_forward" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="net.ipv4.ip_forward configuration setting check" definition_ref="oval:ssg-sysctl_static_net_ipv4_ip_forward:def:1"/>
<extend_definition comment="net.ipv4.ip_forward runtime setting check" definition_ref="oval:ssg-sysctl_runtime_net_ipv4_ip_forward:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_fs_protected_hardlinks:def:1" version="3">
<metadata>
<title>Kernel "fs.protected_hardlinks" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "fs.protected_hardlinks" parameter should be set to "1" in system runtime.</description>
<reference ref_id="sysctl_runtime_fs_protected_hardlinks" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter fs.protected_hardlinks set to 1" test_ref="oval:ssg-test_runtime_sysctl_fs_protected_hardlinks:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_fs_protected_symlinks:def:1" version="3">
<metadata>
<title>Kernel "fs.protected_symlinks" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "fs.protected_symlinks" parameter should be set to "1" in system runtime.</description>
<reference ref_id="sysctl_runtime_fs_protected_symlinks" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter fs.protected_symlinks set to 1" test_ref="oval:ssg-test_runtime_sysctl_fs_protected_symlinks:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_fs_suid_dumpable:def:1" version="3">
<metadata>
<title>Kernel "fs.suid_dumpable" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "fs.suid_dumpable" parameter should be set to "0" in system runtime.</description>
<reference ref_id="sysctl_runtime_fs_suid_dumpable" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter fs.suid_dumpable set to 0" test_ref="oval:ssg-test_runtime_sysctl_fs_suid_dumpable:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_dmesg_restrict:def:1" version="3">
<metadata>
<title>Kernel "kernel.dmesg_restrict" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.dmesg_restrict" parameter should be set to "1" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_dmesg_restrict" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.dmesg_restrict set to 1" test_ref="oval:ssg-test_runtime_sysctl_kernel_dmesg_restrict:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_kptr_restrict:def:1" version="3">
<metadata>
<title>Kernel "kernel.kptr_restrict" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.kptr_restrict" parameter should be set to "1" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_kptr_restrict" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.kptr_restrict set to 1" test_ref="oval:ssg-test_runtime_sysctl_kernel_kptr_restrict:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_perf_cpu_time_max_percent:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_cpu_time_max_percent" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.perf_cpu_time_max_percent" parameter should be set to "1" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_perf_cpu_time_max_percent" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.perf_cpu_time_max_percent set to 1" test_ref="oval:ssg-test_runtime_sysctl_kernel_perf_cpu_time_max_percent:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_perf_event_max_sample_rate:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_event_max_sample_rate" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.perf_event_max_sample_rate" parameter should be set to "1" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_perf_event_max_sample_rate" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.perf_event_max_sample_rate set to 1" test_ref="oval:ssg-test_runtime_sysctl_kernel_perf_event_max_sample_rate:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_perf_event_paranoid:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_event_paranoid" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.perf_event_paranoid" parameter should be set to "2" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_perf_event_paranoid" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.perf_event_paranoid set to 2" test_ref="oval:ssg-test_runtime_sysctl_kernel_perf_event_paranoid:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_pid_max:def:1" version="3">
<metadata>
<title>Kernel "kernel.pid_max" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.pid_max" parameter should be set to "65536" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_pid_max" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.pid_max set to 65536" test_ref="oval:ssg-test_runtime_sysctl_kernel_pid_max:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_randomize_va_space:def:1" version="3">
<metadata>
<title>Kernel "kernel.randomize_va_space" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.randomize_va_space" parameter should be set to "2" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_randomize_va_space" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.randomize_va_space set to 2" test_ref="oval:ssg-test_runtime_sysctl_kernel_randomize_va_space:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_kernel_sysrq:def:1" version="3">
<metadata>
<title>Kernel "kernel.sysrq" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.sysrq" parameter should be set to "0" in system runtime.</description>
<reference ref_id="sysctl_runtime_kernel_sysrq" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter kernel.sysrq set to 0" test_ref="oval:ssg-test_runtime_sysctl_kernel_sysrq:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_net_ipv4_ip_forward:def:1" version="3">
<metadata>
<title>Kernel "net.ipv4.ip_forward" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "net.ipv4.ip_forward" parameter should be set to the appropriate value in system runtime.</description>
<reference ref_id="sysctl_runtime_net_ipv4_ip_forward" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter net.ipv4.ip_forward set to the appropriate value" test_ref="oval:ssg-test_runtime_sysctl_net_ipv4_ip_forward:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_runtime_vm_mmap_min_addr:def:1" version="3">
<metadata>
<title>Kernel "vm.mmap_min_addr" Parameter Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "vm.mmap_min_addr" parameter should be set to "65536" in system runtime.</description>
<reference ref_id="sysctl_runtime_vm_mmap_min_addr" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="kernel runtime parameter vm.mmap_min_addr set to 65536" test_ref="oval:ssg-test_runtime_sysctl_vm_mmap_min_addr:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_fs_protected_hardlinks:def:1" version="3">
<metadata>
<title>Kernel "fs.protected_hardlinks" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "fs.protected_hardlinks" parameter should be set to "1" in the system configuration.</description>
<reference ref_id="sysctl_static_fs_protected_hardlinks" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter fs.protected_hardlinks set to 1 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_fs_protected_hardlinks:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter fs.protected_hardlinks set to 1 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_fs_protected_hardlinks:tst:1"/>
<criterion comment="kernel static parameter fs.protected_hardlinks set to 1 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_fs_protected_hardlinks:tst:1"/>
<criterion comment="kernel static parameter fs.protected_hardlinks set to 1 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_fs_protected_hardlinks:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_fs_protected_symlinks:def:1" version="3">
<metadata>
<title>Kernel "fs.protected_symlinks" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "fs.protected_symlinks" parameter should be set to "1" in the system configuration.</description>
<reference ref_id="sysctl_static_fs_protected_symlinks" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter fs.protected_symlinks set to 1 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_fs_protected_symlinks:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter fs.protected_symlinks set to 1 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_fs_protected_symlinks:tst:1"/>
<criterion comment="kernel static parameter fs.protected_symlinks set to 1 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_fs_protected_symlinks:tst:1"/>
<criterion comment="kernel static parameter fs.protected_symlinks set to 1 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_fs_protected_symlinks:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_fs_suid_dumpable:def:1" version="3">
<metadata>
<title>Kernel "fs.suid_dumpable" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "fs.suid_dumpable" parameter should be set to "0" in the system configuration.</description>
<reference ref_id="sysctl_static_fs_suid_dumpable" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter fs.suid_dumpable set to 0 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_fs_suid_dumpable:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter fs.suid_dumpable set to 0 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_fs_suid_dumpable:tst:1"/>
<criterion comment="kernel static parameter fs.suid_dumpable set to 0 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_fs_suid_dumpable:tst:1"/>
<criterion comment="kernel static parameter fs.suid_dumpable set to 0 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_fs_suid_dumpable:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_dmesg_restrict:def:1" version="3">
<metadata>
<title>Kernel "kernel.dmesg_restrict" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.dmesg_restrict" parameter should be set to "1" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_dmesg_restrict" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.dmesg_restrict set to 1 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_dmesg_restrict:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.dmesg_restrict set to 1 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_dmesg_restrict:tst:1"/>
<criterion comment="kernel static parameter kernel.dmesg_restrict set to 1 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_dmesg_restrict:tst:1"/>
<criterion comment="kernel static parameter kernel.dmesg_restrict set to 1 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_dmesg_restrict:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_kptr_restrict:def:1" version="3">
<metadata>
<title>Kernel "kernel.kptr_restrict" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.kptr_restrict" parameter should be set to "1" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_kptr_restrict" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.kptr_restrict set to 1 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_kptr_restrict:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.kptr_restrict set to 1 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_kptr_restrict:tst:1"/>
<criterion comment="kernel static parameter kernel.kptr_restrict set to 1 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_kptr_restrict:tst:1"/>
<criterion comment="kernel static parameter kernel.kptr_restrict set to 1 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_kptr_restrict:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_perf_cpu_time_max_percent:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_cpu_time_max_percent" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.perf_cpu_time_max_percent" parameter should be set to "1" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_perf_cpu_time_max_percent" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.perf_cpu_time_max_percent set to 1 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_perf_cpu_time_max_percent:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.perf_cpu_time_max_percent set to 1 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_perf_cpu_time_max_percent:tst:1"/>
<criterion comment="kernel static parameter kernel.perf_cpu_time_max_percent set to 1 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_perf_cpu_time_max_percent:tst:1"/>
<criterion comment="kernel static parameter kernel.perf_cpu_time_max_percent set to 1 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_perf_cpu_time_max_percent:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_perf_event_max_sample_rate:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_event_max_sample_rate" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.perf_event_max_sample_rate" parameter should be set to "1" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_perf_event_max_sample_rate" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.perf_event_max_sample_rate set to 1 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_perf_event_max_sample_rate:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.perf_event_max_sample_rate set to 1 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_perf_event_max_sample_rate:tst:1"/>
<criterion comment="kernel static parameter kernel.perf_event_max_sample_rate set to 1 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_perf_event_max_sample_rate:tst:1"/>
<criterion comment="kernel static parameter kernel.perf_event_max_sample_rate set to 1 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_perf_event_max_sample_rate:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_perf_event_paranoid:def:1" version="3">
<metadata>
<title>Kernel "kernel.perf_event_paranoid" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.perf_event_paranoid" parameter should be set to "2" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_perf_event_paranoid" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.perf_event_paranoid set to 2 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_perf_event_paranoid:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.perf_event_paranoid set to 2 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_perf_event_paranoid:tst:1"/>
<criterion comment="kernel static parameter kernel.perf_event_paranoid set to 2 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_perf_event_paranoid:tst:1"/>
<criterion comment="kernel static parameter kernel.perf_event_paranoid set to 2 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_perf_event_paranoid:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_pid_max:def:1" version="3">
<metadata>
<title>Kernel "kernel.pid_max" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.pid_max" parameter should be set to "65536" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_pid_max" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.pid_max set to 65536 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_pid_max:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.pid_max set to 65536 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_pid_max:tst:1"/>
<criterion comment="kernel static parameter kernel.pid_max set to 65536 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_pid_max:tst:1"/>
<criterion comment="kernel static parameter kernel.pid_max set to 65536 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_pid_max:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_randomize_va_space:def:1" version="3">
<metadata>
<title>Kernel "kernel.randomize_va_space" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.randomize_va_space" parameter should be set to "2" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_randomize_va_space" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.randomize_va_space set to 2 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_randomize_va_space:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.randomize_va_space set to 2 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_randomize_va_space:tst:1"/>
<criterion comment="kernel static parameter kernel.randomize_va_space set to 2 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_randomize_va_space:tst:1"/>
<criterion comment="kernel static parameter kernel.randomize_va_space set to 2 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_randomize_va_space:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_kernel_sysrq:def:1" version="3">
<metadata>
<title>Kernel "kernel.sysrq" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "kernel.sysrq" parameter should be set to "0" in the system configuration.</description>
<reference ref_id="sysctl_static_kernel_sysrq" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter kernel.sysrq set to 0 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_kernel_sysrq:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter kernel.sysrq set to 0 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_kernel_sysrq:tst:1"/>
<criterion comment="kernel static parameter kernel.sysrq set to 0 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_kernel_sysrq:tst:1"/>
<criterion comment="kernel static parameter kernel.sysrq set to 0 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_kernel_sysrq:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_net_ipv4_ip_forward:def:1" version="3">
<metadata>
<title>Kernel "net.ipv4.ip_forward" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "net.ipv4.ip_forward" parameter should be set to the appropriate value in the system configuration.</description>
<reference ref_id="sysctl_static_net_ipv4_ip_forward" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter net.ipv4.ip_forward set to the appropriate value in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_net_ipv4_ip_forward:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter net.ipv4.ip_forward set to the appropriate value in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_net_ipv4_ip_forward:tst:1"/>
<criterion comment="kernel static parameter net.ipv4.ip_forward set to the appropriate value in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_net_ipv4_ip_forward:tst:1"/>
<criterion comment="kernel static parameter net.ipv4.ip_forward set to the appropriate value in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_net_ipv4_ip_forward:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_static_vm_mmap_min_addr:def:1" version="3">
<metadata>
<title>Kernel "vm.mmap_min_addr" Parameter Configuration Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The kernel "vm.mmap_min_addr" parameter should be set to "65536" in the system configuration.</description>
<reference ref_id="sysctl_static_vm_mmap_min_addr" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="kernel static parameter vm.mmap_min_addr set to 65536 in /etc/sysctl.conf" test_ref="oval:ssg-test_static_sysctl_vm_mmap_min_addr:tst:1"/>
<!-- see sysctl.d(5) -->
<criterion comment="kernel static parameter vm.mmap_min_addr set to 65536 in /etc/sysctl.d/*.conf" test_ref="oval:ssg-test_static_etc_sysctld_vm_mmap_min_addr:tst:1"/>
<criterion comment="kernel static parameter vm.mmap_min_addr set to 65536 in /run/sysctl.d/*.conf" test_ref="oval:ssg-test_static_run_sysctld_vm_mmap_min_addr:tst:1"/>
<criterion comment="kernel static parameter vm.mmap_min_addr set to 65536 in /usr/lib/sysctl.d/*.conf" test_ref="oval:ssg-test_static_usr_lib_sysctld_vm_mmap_min_addr:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sysctl_vm_mmap_min_addr:def:1" version="3">
<metadata>
<title>Kernel "vm.mmap_min_addr" Parameter Configuration and Runtime Check</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>The "vm.mmap_min_addr" kernel parameter should be set to the appropriate value in both system configuration and system runtime.</description>
<reference ref_id="sysctl_vm_mmap_min_addr" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="vm.mmap_min_addr configuration setting check" definition_ref="oval:ssg-sysctl_static_vm_mmap_min_addr:def:1"/>
<extend_definition comment="vm.mmap_min_addr runtime setting check" definition_ref="oval:ssg-sysctl_runtime_vm_mmap_min_addr:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-rsyslog_files_ownership:def:1" version="1">
<metadata>
<title>Confirm Existence and Permissions of System Log Files</title>
<affected family="unix">
<platform>Ubuntu 1604</platform>
<platform>Debian 8</platform>
<platform>Fedora 23</platform>
<platform>Fedora 24</platform>
<platform>Red Hat Enterprise Linux 7</platform>
<platform>Red Hat Enterprise Linux 6</platform>
</affected>
<description>All syslog log files should be owned by the appropriate user.</description>
<reference ref_id="rsyslog_files_ownership" source="ssg"/></metadata>
<criteria>
<criterion comment="Check if all system log files are owned by root user" test_ref="oval:ssg-test_rsyslog_files_ownership:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-file_permissions_systemmap:def:1" version="1">
<metadata>
<title>Verify that System.map files are readable only by root</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>
Checks that /boot/System.map-* are only readable by root.
</description>
<reference ref_id="file_permissions_systemmap" source="ssg"/></metadata>
<criteria operator="AND">
<criterion test_ref="oval:ssg-test_permissions_systemmap_files:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_debian8:def:1" version="3">
<metadata>
<title>Debian 8</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<reference ref_id="cpe:/o:debian:debian_linux:8" source="CPE"/>
<description>The operating system installed on the system is Debian 8</description>
<reference ref_id="installed_OS_is_debian8" source="ssg"/></metadata>
<criteria comment="current Debian version is Debian jessie" operator="AND">
<extend_definition comment="Installed OS is part of the Unix family" definition_ref="oval:ssg-installed_OS_is_part_of_Unix_family:def:1"/>
<criterion comment="Debian is installed" test_ref="oval:ssg-test_debian:tst:1"/>
<criterion comment="Debian8 is installed" test_ref="oval:ssg-test_debian_8:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-partition_for_home:def:1" version="1">
<metadata>
<title>Ensure /home Located On Separate Partition</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<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>
<reference ref_id="partition_for_home" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_home_partition:tst:1" comment="/home on own partition"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-partition_for_srv:def:1" version="1">
<metadata>
<title>Ensure /srv Located On Separate Partition</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>If a file server (FTP, TFTP...) is hosted locally, create a separate partition
for /srv at installation time (or migrate it later using LVM). If
/srv will be mounted from another system such as an NFS server, then
creating a separate partition is not necessary at installation time, and the
mountpoint can instead be configured later.</description>
<reference ref_id="partition_for_srv" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_srv_partition:tst:1" comment="/srv on own partition"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-partition_for_tmp:def:1" version="1">
<metadata>
<title>Ensure /tmp Located On Separate Partition</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<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>
<reference ref_id="partition_for_tmp" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_tmp_partition:tst:1" comment="/tmp on own partition"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-partition_for_var:def:1" version="1">
<metadata>
<title>Ensure /var Located On Separate Partition</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>Ensuring that /var is mounted on its own partition enables
the setting of more restrictive mount options, which is used as temporary
storage by many program, particularly system services such as daemons. It
is not uncommon for the /var directory to contain world-writable
directories, installed by other software packages.</description>
<reference ref_id="partition_for_var" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_var_partition:tst:1" comment="/var on own partition"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-partition_for_var_log:def:1" version="1">
<metadata>
<title>Ensure /var/log Located On Separate Partition</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<description>System logs are stored in the /var/log directory. Ensure
that it has its own partition or logical volume.</description>
<reference ref_id="partition_for_var_log" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_var_log_partition:tst:1" comment="/var/log on own partition"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-partition_for_var_log_audit:def:1" version="1">
<metadata>
<title>Ensure /var/log/audit Located On Separate Partition</title>
<affected family="unix">
<platform>Debian 8</platform>
</affected>
<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>
<reference ref_id="partition_for_var_log_audit" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_var_log_audit_partition:tst:1" comment="/var/log/audit on own partition"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-account_unique_name:def:1" version="1">
<metadata>
<title>Set All Accounts To Have Unique Names</title>
<affected family="unix">
</affected>
<description>All accounts on the system should have unique names for proper accountability.</description>
<reference ref_id="account_unique_name" source="ssg"/></metadata>
<criteria comment="There should not exist duplicate user name entries in /etc/passwd">
<criterion test_ref="oval:ssg-test_etc_passwd_no_duplicate_user_names:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_maximum_age_login_defs:def:1" version="3">
<metadata>
<title>Set Password Expiration Parameters</title>
<affected family="unix">
</affected>
<description>The maximum password age policy should meet minimum requirements.</description>
<reference ref_id="accounts_maximum_age_login_defs" source="ssg"/></metadata>
<criteria comment="The value PASS_MAX_DAYS should be set appropriately in /etc/login.defs">
<criterion test_ref="oval:ssg-test_pass_max_days:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_minimum_age_login_defs:def:1" version="3">
<metadata>
<title>Set Password Expiration Parameters</title>
<affected family="unix">
</affected>
<description>The minimum password age policy should be set appropriately.</description>
<reference ref_id="accounts_minimum_age_login_defs" source="ssg"/></metadata>
<criteria comment="The value of PASS_MIN_DAYS should be set appropriately in /etc/login.defs">
<criterion test_ref="oval:ssg-test_pass_min_days:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_no_uid_except_zero:def:1" version="1">
<metadata>
<title>UID 0 Belongs Only To Root</title>
<affected family="unix">
</affected>
<description>Only the root account should be assigned a user id of 0.</description>
<reference ref_id="accounts_no_uid_except_zero" source="ssg"/></metadata>
<criteria>
<criterion comment="tests that there are no accounts with UID 0 except root in the /etc/passwd file" test_ref="oval:ssg-test_accounts_no_uid_except_root:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_password_all_shadowed:def:1" version="1">
<metadata>
<title>All Password Hashes Shadowed</title>
<affected family="unix">
</affected>
<description>All password hashes should be shadowed.</description>
<reference ref_id="accounts_password_all_shadowed" source="ssg"/></metadata>
<criteria>
<criterion comment="password hashes are shadowed" test_ref="oval:ssg-test_accounts_password_all_shadowed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_password_minlen_login_defs:def:1" version="3">
<metadata>
<title>Set Password Expiration Parameters</title>
<affected family="unix">
</affected>
<description>The password minimum length should be set appropriately.</description>
<reference ref_id="accounts_password_minlen_login_defs" source="ssg"/></metadata>
<criteria operator="AND">
<criterion test_ref="oval:ssg-test_pass_min_len:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_password_warn_age_login_defs:def:1" version="3">
<metadata>
<title>Set Password Expiration Parameters</title>
<affected family="unix">
</affected>
<description>The password expiration warning age should be set appropriately.</description>
<reference ref_id="accounts_password_warn_age_login_defs" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_pass_warn_age:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_passwords_pam_faillock_deny:def:1" version="4">
<metadata>
<title>Lock out account after failed login attempts</title>
<affected family="unix">
</affected>
<description>The number of allowed failed logins should be set correctly.</description>
<reference ref_id="accounts_passwords_pam_faillock_deny" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_accounts_passwords_pam_faillock_preauth_silent_system-auth:tst:1" comment="pam_faillock.so preauth silent set in system-auth"/>
<criterion test_ref="oval:ssg-test_accounts_passwords_pam_faillock_authfail_deny_system-auth:tst:1" comment="pam_faillock.so authfail deny value set in system-auth"/>
<criterion test_ref="oval:ssg-test_accounts_passwords_pam_faillock_account_phase_system-auth:tst:1" comment="pam_faillock.so set in account phase of system-auth"/>
<criterion test_ref="oval:ssg-test_accounts_passwords_pam_faillock_preauth_silent_password-auth:tst:1" comment="pam_faillock.so preauth silent set in password-auth"/>
<criterion test_ref="oval:ssg-test_accounts_passwords_pam_faillock_authfail_deny_password-auth:tst:1" comment="pam_faillock.so authfail deny value set in password-auth"/>
<criterion test_ref="oval:ssg-test_accounts_passwords_pam_faillock_account_phase_password-auth:tst:1" comment="pam_faillock.so set in account phase of password-auth"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-accounts_root_path_dirs_no_write:def:1" version="2">
<metadata>
<title>Write permissions are disabled for group and other in all
directories in Root's Path</title>
<affected family="unix">
</affected>
<description>Check each directory in root's path and make use it does
not grant write permission to group and other</description>
<reference ref_id="accounts_root_path_dirs_no_write" source="ssg"/></metadata>
<criteria comment="Check that write permission to group and other in root's path is denied">
<criterion comment="Check for write permission to group and other in root's path" test_ref="oval:ssg-test_accounts_root_path_dirs_no_group_other_write:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_audispd_syslog_plugin_activated:def:1" version="1">
<metadata>
<title>The syslog Plugin Of the Audit Event Multiplexor (audispd) Is Activated</title>
<affected family="unix">
</affected>
<description>active setting in /etc/audisp/plugins.d/syslog.conf is set to 'yes'</description>
<reference ref_id="auditd_audispd_syslog_plugin_activated" source="ssg"/></metadata>
<criteria>
<criterion comment="active setting in syslog.conf" test_ref="oval:ssg-test_auditd_audispd_syslog_plugin_activated:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_conf_log_group_not_root:def:1" version="1">
<metadata>
<title>'log_group' Not Set To 'root' In /etc/audit/auditd.conf</title>
<affected family="unix">
</affected>
<description>Verify 'log_group' is not set to 'root' in
/etc/audit/auditd.conf.</description>
<reference ref_id="auditd_conf_log_group_not_root" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_auditd_conf_log_group_not_root:tst:1" comment="Verify 'log_group' not set to 'root' in /etc/audit/auditd.conf"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_data_retention_action_mail_acct:def:1" version="2">
<metadata>
<title>Auditd Email Account to Notify Upon Action</title>
<affected family="unix">
</affected>
<description>action_mail_acct setting in /etc/audit/auditd.conf is set to a certain account</description>
<reference ref_id="auditd_data_retention_action_mail_acct" source="ssg"/></metadata>
<criteria>
<criterion comment="action_mail_acct setting in auditd.conf" test_ref="oval:ssg-test_auditd_data_retention_action_mail_acct:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_data_retention_admin_space_left_action:def:1" version="2">
<metadata>
<title>Auditd Action to Take When Disk is Low on Space</title>
<affected family="unix">
</affected>
<description>admin_space_left_action setting in /etc/audit/auditd.conf is set to a certain action</description>
<reference ref_id="auditd_data_retention_admin_space_left_action" source="ssg"/></metadata>
<criteria>
<criterion comment="admin_space_left_action setting in auditd.conf" test_ref="oval:ssg-test_auditd_data_retention_admin_space_left_action:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_data_retention_max_log_file:def:1" version="2">
<metadata>
<title>Auditd Maximum Log File Size</title>
<affected family="unix">
</affected>
<description>max_log_file setting in /etc/audit/auditd.conf is set to at least a certain value</description>
<reference ref_id="auditd_data_retention_max_log_file" source="ssg"/></metadata>
<criteria>
<criterion comment="max_log_file setting in auditd.conf" test_ref="oval:ssg-test_auditd_data_retention_max_log_file:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_data_retention_max_log_file_action:def:1" version="2">
<metadata>
<title>Auditd Action to Take When Maximum Log Size Reached</title>
<affected family="unix">
</affected>
<description>max_log_file_action setting in /etc/audit/auditd.conf is set to a certain action</description>
<reference ref_id="auditd_data_retention_max_log_file_action" source="ssg"/></metadata>
<criteria>
<criterion comment="max_log_file_action setting in auditd.conf" test_ref="oval:ssg-test_auditd_data_retention_max_log_file_action:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_data_retention_num_logs:def:1" version="2">
<metadata>
<title>Auditd Maximum Number of Logs to Retain</title>
<affected family="unix">
</affected>
<description>num_logs setting in /etc/audit/auditd.conf is set to at least a certain value</description>
<reference ref_id="auditd_data_retention_num_logs" source="ssg"/></metadata>
<criteria>
<criterion comment="num_logs setting in auditd.conf" test_ref="oval:ssg-test_auditd_data_retention_num_logs:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-auditd_data_retention_space_left_action:def:1" version="3">
<metadata>
<title>Auditd Action to Take When Disk Starting to Run Low on Space</title>
<affected family="unix">
</affected>
<description>space_left_action setting in /etc/audit/auditd.conf is set to a certain action</description>
<reference ref_id="auditd_data_retention_space_left_action" source="ssg"/></metadata>
<criteria>
<criterion comment="space_left_action setting in auditd.conf" test_ref="oval:ssg-test_auditd_data_retention_space_left_action:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-ensure_gpgcheck_globally_activated:def:1" version="1">
<metadata>
<title>Ensure Yum gpgcheck Globally Activated</title>
<affected family="unix">
</affected>
<description>The gpgcheck option should be used to ensure that checking
of an RPM package's signature always occurs prior to its
installation.</description>
<reference ref_id="ensure_gpgcheck_globally_activated" source="ssg"/></metadata>
<criteria operator="OR">
<criteria operator="AND">
<extend_definition comment="Fedora installed" definition_ref="oval:ssg-installed_OS_is_fedora:def:1"/>
<criterion comment="check value of gpgcheck in /etc/dnf/dnf.conf" test_ref="oval:ssg-test_dnf_ensure_gpgcheck_globally_activated:tst:1"/>
</criteria>
<criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:ssg-test_yum_ensure_gpgcheck_globally_activated:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-ensure_logrotate_activated:def:1" version="1">
<metadata>
<title>Ensure the logrotate utility performs the automatic rotation of log files on daily basis</title>
<affected family="unix">
<platform>Ubuntu 1604</platform>
<platform>Debian 8</platform>
<platform>Red Hat Enterprise Linux 7</platform>
<platform>Red Hat Enterprise Linux 6</platform>
</affected>
<description>
The frequency of automatic log files rotation performed by the logrotate utility should be configured to run daily
</description>
<reference ref_id="ensure_logrotate_activated" source="ssg"/></metadata>
<criteria comment="/etc/logrotate.conf contains daily setting or /etc/cron.daily/logrotate file exists" operator="OR">
<criterion comment="Check if daily is set in /etc/logrotate.conf" test_ref="oval:ssg-test_logrotate_conf_daily_setting:tst:1"/>
<criterion comment="Check if /etc/cron.daily/logrotate file exists (and calls logrotate)" test_ref="oval:ssg-test_cron_daily_logrotate_existence:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-file_ownership_var_log_audit:def:1" version="3">
<metadata>
<title>Verify /var/log/audit Ownership</title>
<affected family="unix">
</affected>
<description>Checks that all /var/log/audit files and directories are owned by the root user and group.</description>
<reference ref_id="file_ownership_var_log_audit" source="ssg"/></metadata>
<criteria operator="OR">
<criteria operator="AND" comment="directories are root owned">
<criterion test_ref="oval:ssg-test_ownership_var_log_audit_files:tst:1"/>
<criterion test_ref="oval:ssg-test_ownership_var_log_audit_directories:tst:1"/>
</criteria>
<criteria operator="AND" comment="log_group in auditd.conf is not root">
<extend_definition comment="log_group in auditd.conf is not root" definition_ref="oval:ssg-auditd_conf_log_group_not_root:def:1"/>
<criterion test_ref="oval:ssg-test_ownership_var_log_audit_files-non_root:tst:1"/>
<criterion test_ref="oval:ssg-test_ownership_var_log_audit_directories-non_root:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-file_permissions_home_dirs:def:1" version="1">
<metadata>
<title>Proper Permissions User Home Directories</title>
<affected family="unix">
</affected>
<description>File permissions should be set correctly for the home directories for all user accounts.</description>
<reference ref_id="file_permissions_home_dirs" source="ssg"/></metadata>
<criteria>
<criterion comment="home directories" test_ref="oval:ssg-test_file_permissions_home_dirs:tst:1" negate="true"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-install_antivirus:def:1" version="1">
<metadata>
<title>Package Antivirus Installed</title>
<affected family="unix">
</affected>
<description>Antivirus software should be installed.</description>
<reference ref_id="install_antivirus" source="ssg"/></metadata>
<criteria comment="Antivirus is not being used or conditions are met">
<extend_definition comment="McAfee A/V Installed" definition_ref="oval:ssg-install_mcafee_antivirus:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-install_mcafee_antivirus:def:1" version="1">
<metadata>
<title>Package McAfeeVSEForLinux Installed</title>
<affected family="unix">
</affected>
<description>McAfee Antivirus software should be installed.</description>
<reference ref_id="install_mcafee_antivirus" source="ssg"/></metadata>
<criteria comment="Antivirus is not being used or conditions are met" operator="AND">
<extend_definition comment="McAfee Runtime Libraries and Agent" definition_ref="oval:ssg-install_mcafee_cma_rt:def:1"/>
<criterion comment="Linuxshield AntiVirus package is installed" test_ref="oval:ssg-test_linuxshield_install_antivirus:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-install_mcafee_cma_rt:def:1" version="1">
<metadata>
<title>Install the McAfee Runtime Libraries and Linux Agent</title>
<affected family="unix">
</affected>
<description>Install the McAfee Runtime Libraries (MFErt) and Linux Agent (MFEcma).</description>
<reference ref_id="install_mcafee_cma_rt" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="McAfee runtime library package installed" test_ref="oval:ssg-test_mcafee_runtime_installed:tst:1"/>
<criterion comment="McAfee management agent package installed" test_ref="oval:ssg-test_mcafee_management_agent:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-install_mcafee_hbss:def:1" version="1">
<metadata>
<title>Install McAfee Host-Based Intrusion Detection Software (HBSS)</title>
<affected family="unix">
</affected>
<description>McAfee Host-Based Intrusion Detection Software (HBSS) software
should be installed.</description>
<reference ref_id="install_mcafee_hbss" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="McAfee HBSS" definition_ref="oval:ssg-install_mcafee_cma_rt:def:1"/>
<extend_definition comment="McAfee HBSS" definition_ref="oval:ssg-install_mcafee_hbss_accm:def:1"/>
<extend_definition comment="McAfee HBSS" definition_ref="oval:ssg-install_mcafee_hbss_hips:def:1"/>
<extend_definition comment="McAfee HBSS" definition_ref="oval:ssg-install_mcafee_hbss_pa:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-install_mcafee_hbss_accm:def:1" version="1">
<metadata>
<title>Install the Asset Configuration Compliance Module (ACCM)</title>
<affected family="unix">
</affected>
<description>Install the Asset Configuration Compliance Module (ACCM).</description>
<reference ref_id="install_mcafee_hbss_accm" source="ssg"/></metadata>
<criteria>
<criterion comment="McAfee ACCM is installed" test_ref="oval:ssg-test_mcafee_accm_exists:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-install_mcafee_hbss_hips:def:1" version="1">
<metadata>
<title>Install the Host Intrusion Prevention System (HIPS) Module</title>
<affected family="unix">
</affected>
<description>Install the McAfee Host Intrusion Prevention System (HIPS) Module if it is
absolutely necessary. If SELinux is enabled, do not install or enable this module.</description>
<reference ref_id="install_mcafee_hbss_hips" source="ssg"/></metadata>
<criteria>
<criterion comment="McAfee IPS is installed" test_ref="oval:ssg-test_mcafee_hbss_hips_installed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-install_mcafee_hbss_pa:def:1" version="1">
<metadata>
<title>Install the Policy Auditor (PA) Module</title>
<affected family="unix">
</affected>
<description>Install the Policy Auditor (PA) Module.</description>
<reference ref_id="install_mcafee_hbss_pa" source="ssg"/></metadata>
<criteria>
<criterion comment="McAfee Policy Auditor is installed" test_ref="oval:ssg-test_mcafee_auditengine_exists:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_centos6:def:1" version="2">
<metadata>
<title>CentOS 6</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:centos:centos:6" source="CPE"/>
<description>The operating system installed on the system is
CentOS 6</description>
<reference ref_id="installed_OS_is_centos6" source="ssg"/></metadata>
<criteria>
<extend_definition comment="Installed OS is part of the Unix family" definition_ref="oval:ssg-installed_OS_is_part_of_Unix_family:def:1"/>
<criterion comment="CentOS6 is installed" test_ref="oval:ssg-test_centos6:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_centos7:def:1" version="2">
<metadata>
<title>CentOS 7</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:centos:centos:7" source="CPE"/>
<description>The operating system installed on the system is
CentOS 7</description>
<reference ref_id="installed_OS_is_centos7" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="Installed OS is part of the Unix family" definition_ref="oval:ssg-installed_OS_is_part_of_Unix_family:def:1"/>
<criterion comment="CentOS7 is installed" test_ref="oval:ssg-test_centos7:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_fedora:def:1" version="3">
<metadata>
<title>Installed operating system is Fedora</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:fedoraproject:fedora:22" source="CPE"/>
<reference ref_id="cpe:/o:fedoraproject:fedora:23" source="CPE"/>
<reference ref_id="cpe:/o:fedoraproject:fedora:24" source="CPE"/>
<reference ref_id="cpe:/o:fedoraproject:fedora:25" source="CPE"/>
<description>The operating system installed on the system is Fedora</description>
<reference ref_id="installed_OS_is_fedora" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="Installed OS is part of the Unix family" definition_ref="oval:ssg-installed_OS_is_part_of_Unix_family:def:1"/>
<criterion comment="fedora-release RPM package is installed" test_ref="oval:ssg-test_fedora_release_rpm:tst:1"/>
<criterion comment="CPE vendor is 'fedoraproject' and product is 'fedora'" test_ref="oval:ssg-test_fedora_vendor_product:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_part_of_Unix_family:def:1" version="1">
<metadata>
<title>Installed operating system is part of the Unix family</title>
<affected family="unix">
</affected>
<description>The operating system installed on the system is part of the Unix OS family</description>
<reference ref_id="installed_OS_is_part_of_Unix_family" source="ssg"/></metadata>
<criteria>
<criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg-test_unix_family:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_rhel6:def:1" version="2">
<metadata>
<title>Red Hat Enterprise Linux 6</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:redhat:enterprise_linux:6" source="CPE"/>
<description>The operating system installed on the system is
Red Hat Enterprise Linux 6</description>
<reference ref_id="installed_OS_is_rhel6" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="Installed OS is part of the Unix family" definition_ref="oval:ssg-installed_OS_is_part_of_Unix_family:def:1"/>
<criteria operator="OR">
<criterion comment="RHEL 6 Workstation is installed" test_ref="oval:ssg-test_rhel_workstation:tst:1"/>
<criterion comment="RHEL 6 Server is installed" test_ref="oval:ssg-test_rhel_server:tst:1"/>
<criterion comment="RHEL 6 Compute Node is installed" test_ref="oval:ssg-test_rhel_computenode:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_rhel7:def:1" version="1">
<metadata>
<title>Red Hat Enterprise Linux 7</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:redhat:enterprise_linux:7" source="CPE"/>
<description>The operating system installed on the system is
Red Hat Enterprise Linux 7</description>
<reference ref_id="installed_OS_is_rhel7" source="ssg"/></metadata>
<criteria>
<criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg-test_rhel7_unix_family:tst:1"/>
<criteria operator="OR">
<criterion comment="RHEL 7 Workstation is installed" test_ref="oval:ssg-test_rhel7_workstation:tst:1"/>
<criterion comment="RHEL 7 Server is installed" test_ref="oval:ssg-test_rhel7_server:tst:1"/>
<criterion comment="RHEL 7 Compute Node is installed" test_ref="oval:ssg-test_rhel7_computenode:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_sl6:def:1" version="2">
<metadata>
<title>Scientific Linux 6</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:scientificlinux:scientificlinux:6" source="CPE"/>
<description>The operating system installed on the system is
Scientific Linux 6</description>
<reference ref_id="installed_OS_is_sl6" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="Installed OS is part of the Unix family" definition_ref="oval:ssg-installed_OS_is_part_of_Unix_family:def:1"/>
<criterion comment="Scientific Linux 6 is installed" test_ref="oval:ssg-test_sl6:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_sl7:def:1" version="2">
<metadata>
<title>Scientific Linux 7</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:scientificlinux:scientificlinux:6" source="CPE"/>
<description>The operating system installed on the system is
Scientific Linux 7</description>
<reference ref_id="installed_OS_is_sl7" source="ssg"/></metadata>
<criteria operator="AND">
<extend_definition comment="Installed OS is part of the Unix family" definition_ref="oval:ssg-installed_OS_is_part_of_Unix_family:def:1"/>
<criterion comment="Scientific Linux 7 is installed" test_ref="oval:ssg-test_sl7:tst:1"/>
</criteria>
</definition>
<definition class="inventory" id="oval:ssg-installed_OS_is_wrlinux:def:1" version="1">
<metadata>
<title>WRLinux</title>
<affected family="unix">
</affected>
<reference ref_id="cpe:/o:windriver:wrlinux" source="CPE"/>
<description>The operating system installed on the system is
Wind River Linux</description>
<reference ref_id="installed_OS_is_wrlinux" source="ssg"/></metadata>
<criteria>
<criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg-test_unix_wrlinux:tst:1"/>
<criterion comment="WRLinux is installed" test_ref="oval:ssg-test_wrlinux:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-no_direct_root_logins:def:1" version="1">
<metadata>
<title>Direct root Logins Not Allowed</title>
<affected family="unix">
</affected>
<description>Preventing direct root logins help ensure accountability for actions
taken on the system using the root account.</description>
<reference ref_id="no_direct_root_logins" source="ssg"/></metadata>
<criteria operator="AND">
<criterion comment="serial ports /etc/securetty" test_ref="oval:ssg-test_no_direct_root_logins:tst:1"/>
<criterion comment="serial ports /etc/securetty" test_ref="oval:ssg-test_etc_securetty_exists:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-no_empty_passwords:def:1" version="1">
<metadata>
<title>No nullok Option in /etc/pam.d/system-auth</title>
<affected family="unix">
</affected>
<description>The file /etc/pam.d/system-auth should not contain the nullok option</description>
<reference ref_id="no_empty_passwords" source="ssg"/></metadata>
<criteria>
<criterion comment="make sure the nullok option is not used in /etc/pam.d/system-auth" test_ref="oval:ssg-test_no_empty_passwords:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-no_insecure_locks_exports:def:1" version="1">
<metadata>
<title>Ensure insecure_locks is disabled</title>
<affected family="unix">
</affected>
<description>Allowing insecure file locking could allow for sensitive
data to be viewed or edited by an unauthorized user.</description>
<reference ref_id="no_insecure_locks_exports" source="ssg"/></metadata>
<criteria>
<criterion comment="Check for insecure NFS locks in /etc/exports" test_ref="oval:ssg-test_no_insecure_locks_exports:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-no_netrc_files:def:1" version="1">
<metadata>
<title>Verify No netrc Files Exist</title>
<affected family="unix">
</affected>
<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>
<reference ref_id="no_netrc_files" source="ssg"/></metadata>
<criteria>
<criterion test_ref="oval:ssg-test_no_netrc_files_home:tst:1" negate="true"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-no_shelllogin_for_systemaccounts:def:1" version="2">
<metadata>
<title>System Accounts Do Not Run a Shell</title>
<affected family="unix">
</affected>
<description>The root account is the only system account that should have
a login shell.</description>
<reference ref_id="no_shelllogin_for_systemaccounts" source="ssg"/></metadata>
<criteria operator="OR">
<!-- If SYS_UID_MIN and SYS_UID_MAX is not defined in /etc/login.defs
perform the check that all /etc/passwd entries having shell defined
have UIDs outside the default <0, UID_MIN -1> range.
If at least one UID with shell defined exists within that range,
the requirement isn't met -->
<criteria operator="AND">
<criterion comment="Test SYS_UID_MIN not defined in /etc/login.defs" test_ref="oval:ssg-test_sys_uid_min_not_defined:tst:1"/>
<criterion comment="Test SYS_UID_MAX not defined in /etc/login.defs" test_ref="oval:ssg-test_sys_uid_max_not_defined:tst:1"/>
<criterion comment="Test shell defined for UID from <0, UID_MIN -1>" test_ref="oval:ssg-test_shell_defined_default_uid_range:tst:1"/>
</criteria>
<!-- If both SYS_UID_MIN and SYS_UID_MAX are defined in /etc/login.defs
perform both checks:
* That all /etc/passwd entries having shell defined have UIDs outside
the range for reserved system accounts <0, SYS_UID_MIN> range,
* That all /etc/passwd entries having shell defined have UIDs outside
the range for dynamically allocated system accounts <SYS_UID_MIN, SYS_UID_MAX>
If at least one UID with shell defined exists within some of the two
ranges, the requirement isn't met -->
<criteria operator="AND">
<criterion comment="Test SYS_UID_MIN defined in /etc/login.defs" test_ref="oval:ssg-test_sys_uid_min_not_defined:tst:1" negate="true"/>
<criterion comment="Test SYS_UID_MAX defined in /etc/login.defs" test_ref="oval:ssg-test_sys_uid_max_not_defined:tst:1" negate="true"/>
<criterion comment="Test shell defined for reserved system UIDs" test_ref="oval:ssg-test_shell_defined_reserved_uid_range:tst:1"/>
<criterion comment="Test shell defined for dynamically allocated system UIDs" test_ref="oval:ssg-test_shell_defined_dynalloc_uid_range:tst:1"/>
</criteria>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_net-snmp_removed:def:1" version="1">
<metadata>
<title>Package net-snmp Removed</title>
<affected family="unix">
</affected>
<description>The RPM package net-snmp should be removed.</description>
<reference ref_id="package_net-snmp_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package net-snmp is removed" test_ref="oval:ssg-test_package_net-snmp_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-package_prelink_removed:def:1" version="1">
<metadata>
<title>Package prelink Removed</title>
<affected family="unix">
</affected>
<description>The RPM package prelink should be removed.</description>
<reference ref_id="package_prelink_removed" source="ssg"/></metadata>
<criteria>
<criterion comment="package prelink is removed" test_ref="oval:ssg-test_package_prelink_removed:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-restrict_serial_port_logins:def:1" version="1">
<metadata>
<title>Restrict Serial Port Root Logins</title>
<affected family="unix">
</affected>
<description>Preventing direct root login to serial port interfaces helps
ensure accountability for actions taken on the system using the root
account.</description>
<reference ref_id="restrict_serial_port_logins" source="ssg"/></metadata>
<criteria>
<criterion comment="serial ports /etc/securetty" test_ref="oval:ssg-test_serial_ports_etc_securetty:tst:1" negate="true"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-rsyslog_remote_loghost:def:1" version="1">
<metadata>
<title>Send Logs to a Remote Loghost</title>
<affected family="unix">
<platform>Ubuntu 1604</platform>
<platform>Debian 8</platform>
<platform>Red Hat Enterprise Linux 7</platform>
<platform>Red Hat Enterprise Linux 6</platform>
</affected>
<description>Syslog logs should be sent to a remote loghost</description>
<reference ref_id="rsyslog_remote_loghost" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="Remote logging set within /etc/rsyslog.conf" test_ref="oval:ssg-test_remote_rsyslog_conf:tst:1"/>
<criterion comment="Remote logging set within /etc/rsyslog.d" test_ref="oval:ssg-test_remote_rsyslog_d:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-securetty_root_login_console_only:def:1" version="1">
<metadata>
<title>Restrict Virtual Console Root Logins</title>
<affected family="unix">
</affected>
<description>Preventing direct root login to virtual console devices
helps ensure accountability for actions taken on the system using the
root account.</description>
<reference ref_id="securetty_root_login_console_only" source="ssg"/></metadata>
<criteria>
<criterion comment="virtual consoles /etc/securetty" test_ref="oval:ssg-test_virtual_consoles_etc_securetty:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-snmpd_not_default_password:def:1" version="2">
<metadata>
<title>SNMP default communities disabled</title>
<affected family="unix">
</affected>
<description>SNMP default communities must be removed.</description>
<reference ref_id="snmpd_not_default_password" source="ssg"/></metadata>
<criteria operator="OR">
<extend_definition comment="SMNP installed" definition_ref="oval:ssg-package_net-snmp_removed:def:1"/>
<criterion comment="SNMP communities" test_ref="oval:ssg-test_snmp_default_communities:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-snmpd_use_newer_protocol:def:1" version="2">
<metadata>
<title>SNMP use newer protocols</title>
<affected family="unix">
</affected>
<description>SNMP version 1 and 2c must not be enabled.</description>
<reference ref_id="snmpd_use_newer_protocol" source="ssg"/></metadata>
<criteria operator="OR">
<extend_definition comment="SMNP installed" definition_ref="oval:ssg-package_net-snmp_removed:def:1"/>
<criterion comment="SNMP protocols" test_ref="oval:ssg-test_snmp_versions:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sshd_allow_only_protocol2:def:1" version="1">
<metadata>
<title>Ensure Only Protocol 2 Connections Allowed</title>
<affected family="unix">
<platform>Ubuntu 1604</platform>
<platform>Debian 8</platform>
<platform>Red Hat Enterprise Linux 7</platform>
<platform>Red Hat Enterprise Linux 6</platform>
</affected>
<description>The OpenSSH daemon should be running protocol 2.</description>
<reference ref_id="sshd_allow_only_protocol2" source="ssg"/></metadata>
<criteria comment="SSH is not being used or conditions are met" operator="OR">
<extend_definition comment="sshd service is disabled" definition_ref="oval:ssg-service_sshd_disabled:def:1"/>
<extend_definition comment="rpm package openssh-server removed" definition_ref="oval:ssg-package_openssh-server_removed:def:1"/>
<criterion comment="Check Protocol in /etc/ssh/sshd_config" test_ref="oval:ssg-test_sshd_allow_only_protocol2:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sshd_disable_empty_passwords:def:1" version="1">
<metadata>
<title>Disable Empty Passwords</title>
<affected family="unix">
</affected>
<description>Remote connections from accounts with empty passwords should
be disabled (and dependencies are met)</description>
<reference ref_id="sshd_disable_empty_passwords" source="ssg"/></metadata>
<criteria comment="SSH is not being used or conditions are met" operator="OR">
<extend_definition comment="sshd service is disabled" definition_ref="oval:ssg-service_sshd_disabled:def:1"/>
<criterion comment="Check PermitEmptyPasswords in /etc/ssh/sshd_config" negate="true" test_ref="oval:ssg-test_sshd_permitemptypasswords_no:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sshd_disable_rhosts_rsa:def:1" version="1">
<metadata>
<title>Disable SSH Support for Rhosts RSA Authentication</title>
<affected family="unix">
</affected>
<description>SSH can allow authentication through the obsolete rsh command
through the use of the authenticating user's SSH keys. This should be disabled.</description>
<reference ref_id="sshd_disable_rhosts_rsa" source="ssg"/></metadata>
<criteria comment="SSH is not being used or conditions are met" operator="OR">
<extend_definition comment="sshd service is disabled" definition_ref="oval:ssg-service_sshd_disabled:def:1"/>
<criterion comment="Check RhostsRSAAuthentication in /etc/ssh/sshd_config" negate="true" test_ref="oval:ssg-test_sshd_disable_rhosts_rsa:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sshd_disable_root_login:def:1" version="1">
<metadata>
<title>Disable root Login via SSH</title>
<affected family="unix">
</affected>
<description>Root login via SSH should be disabled (and dependencies are
met)</description>
<reference ref_id="sshd_disable_root_login" source="ssg"/></metadata>
<criteria comment="SSH is not being used or conditions are met" operator="OR">
<extend_definition comment="sshd service is disabled" definition_ref="oval:ssg-service_sshd_disabled:def:1"/>
<criterion comment="Check PermitRootLogin in /etc/ssh/sshd_config" negate="true" test_ref="oval:ssg-test_sshd_permitrootlogin_no:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sshd_disable_user_known_hosts:def:1" version="1">
<metadata>
<title>Disable SSH Support for User Known Hosts</title>
<affected family="unix">
</affected>
<description>SSH can allow system users host-based authentication
to connect to systems if a cache of the remote systems public keys are available.
This should be disabled.</description>
<reference ref_id="sshd_disable_user_known_hosts" source="ssg"/></metadata>
<criteria comment="SSH is not being used or conditions are met" operator="OR">
<extend_definition comment="sshd service is disabled" definition_ref="oval:ssg-service_sshd_disabled:def:1"/>
<criterion comment="Check IgnoreUserKnownHosts in /etc/ssh/sshd_config" test_ref="oval:ssg-test_sshd_disable_user_known_hosts:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sshd_set_idle_timeout:def:1" version="1">
<metadata>
<title>Set OpenSSH Idle Timeout Interval</title>
<affected family="unix">
</affected>
<description>The SSH idle timeout interval should be set to an
appropriate value.</description>
<reference ref_id="sshd_set_idle_timeout" source="ssg"/></metadata>
<criteria comment="SSH is not being used or conditions are met" operator="OR">
<extend_definition comment="sshd service is disabled" definition_ref="oval:ssg-service_sshd_disabled:def:1"/>
<criterion comment="Check ClientAliveInterval in /etc/ssh/sshd_config" test_ref="oval:ssg-test_sshd_idle_timeout:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-sshd_set_keepalive:def:1" version="1">
<metadata>
<title>Set ClientAliveCountMax for User Logins</title>
<affected family="unix">
</affected>
<description>The SSH ClientAliveCountMax should be set to an appropriate
value (and dependencies are met)</description>
<reference ref_id="sshd_set_keepalive" source="ssg"/></metadata>
<criteria comment="SSH is not being used or conditions are met" operator="OR">
<extend_definition comment="sshd service is disabled" definition_ref="oval:ssg-service_sshd_disabled:def:1"/>
<criterion comment="Check ClientAliveCountMax in /etc/ssh/sshd_config" test_ref="oval:ssg-test_sshd_clientalivecountmax:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-system_info_architecture_64bit:def:1" version="1">
<!-- Note that this does not meet requirements for class=inventory as
that only tests for patches per 5.10.1 Revision 1 -->
<metadata>
<title>Test for 64-bit Architecture</title>
<affected family="unix">
</affected>
<description>Generic test for 64-bit architectures to be used by other tests</description>
<reference ref_id="system_info_architecture_64bit" source="ssg"/></metadata>
<criteria operator="OR">
<extend_definition comment="Generic test for x86_64 architecture" definition_ref="oval:ssg-system_info_architecture_x86_64:def:1"/>
<extend_definition comment="Generic test for ppc64 architecture" definition_ref="oval:ssg-system_info_architecture_ppc_64:def:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-system_info_architecture_ppc_64:def:1" version="1">
<!-- Note that this does not meet requirements for class=inventory as
that only tests for patches per 5.10.1 Revision 1 -->
<metadata>
<title>Test for PPC and PPCLE Architecture</title>
<affected family="unix">
</affected>
<description>Generic test for PPC PPC64LE architecture to be used by other tests</description>
<reference ref_id="system_info_architecture_ppc_64" source="ssg"/></metadata>
<criteria operator="OR">
<criterion comment="Generic test for ppc64 architecture" test_ref="oval:ssg-test_system_info_architecture_ppc_64:tst:1"/>
<criterion comment="Generic test for ppcle64 architecture" test_ref="oval:ssg-test_system_info_architecture_ppcle_64:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-system_info_architecture_x86:def:1" version="1">
<!-- Note that this does not meet requirements for class=inventory as
that only tests for patches per 5.10.1 Revision 1 -->
<metadata>
<title>Test for x86 Architecture</title>
<affected family="unix">
</affected>
<description>Generic test for x86 architecture to be used by other tests</description>
<reference ref_id="system_info_architecture_x86" source="ssg"/></metadata>
<criteria>
<criterion comment="Generic test for x86 architecture" test_ref="oval:ssg-test_system_info_architecture_x86:tst:1"/>
</criteria>
</definition>
<definition class="compliance" id="oval:ssg-system_info_architecture_x86_64:def:1" version="1">
<!-- Note that this does not meet requirements for class=inventory as
that only tests for patches per 5.10.1 Revision 1 -->
<metadata>
<title>Test for x86_64 Architecture</title>
<affected family="unix">
</affected>
<description>Generic test for x86_64 architecture to be used by other tests</description>
<reference ref_id="system_info_architecture_x86_64" source="ssg"/></metadata>
<criteria>
<criterion comment="Generic test for x86_64 architecture" test_ref="oval:ssg-test_system_info_architecture_x86_64:tst:1"/>
</criteria>
</definition>
</definitions>
<tests>
<unix:file_test check="all" check_existence="all_exist" id="oval:ssg-test_rsyslog_files_groupownership:tst:1" version="1" comment="System log files are owned by root group">
<unix:object object_ref="oval:ssg-object_rsyslog_files_groupownership:obj:1"/>
<unix:state state_ref="oval:ssg-state_rsyslog_files_groupownership:ste:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" id="oval:ssg-test_rsyslog_files_permissions:tst:1" version="1" comment="Permissions of system log files are 0640">
<unix:object object_ref="oval:ssg-object_rsyslog_files_permissions:obj:1"/>
<unix:state state_ref="oval:ssg-state_rsyslog_files_permissions:ste:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="/etc/group mode and ownership" id="oval:ssg-test_etc_group:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_etc_group:obj:1"/>
<unix:state state_ref="oval:ssg-_etc_group_state_uid_0:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_group_state_gid_0:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_group_state_mode_0644:ste:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="/etc/gshadow mode and ownership" id="oval:ssg-test_etc_gshadow:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_etc_gshadow:obj:1"/>
<unix:state state_ref="oval:ssg-_etc_gshadow_state_uid_0:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_gshadow_state_gid_42:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_gshadow_state_mode_0640:ste:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="/etc/passwd mode and ownership" id="oval:ssg-test_etc_passwd:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_etc_passwd:obj:1"/>
<unix:state state_ref="oval:ssg-_etc_passwd_state_uid_0:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_passwd_state_gid_0:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_passwd_state_mode_0644:ste:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="/etc/shadow mode and ownership" id="oval:ssg-test_etc_shadow:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_etc_shadow:obj:1"/>
<unix:state state_ref="oval:ssg-_etc_shadow_state_uid_0:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_shadow_state_gid_42:ste:1"/>
<unix:state state_ref="oval:ssg-_etc_shadow_state_mode_0640:ste:1"/>
</unix:file_test>
<linux:dpkginfo_test check="all" check_existence="all_exist" id="oval:ssg-test_package_auditd_installed:tst:1" version="1" comment="package auditd is installed">
<linux:object object_ref="oval:ssg-obj_package_auditd_installed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="all_exist" id="oval:ssg-test_package_cron_installed:tst:1" version="1" comment="package cron is installed">
<linux:object object_ref="oval:ssg-obj_package_cron_installed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_inetutils-telnetd_removed:tst:1" version="1" comment="package inetutils-telnetd is removed">
<linux:object object_ref="oval:ssg-obj_package_inetutils-telnetd_removed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_nis_removed:tst:1" version="1" comment="package nis is removed">
<linux:object object_ref="oval:ssg-obj_package_nis_removed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="all_exist" id="oval:ssg-test_package_ntp_installed:tst:1" version="1" comment="package ntp is installed">
<linux:object object_ref="oval:ssg-obj_package_ntp_installed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_ntpdate_removed:tst:1" version="1" comment="package ntpdate is removed">
<linux:object object_ref="oval:ssg-obj_package_ntpdate_removed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_openssh-server_removed:tst:1" version="1" comment="package openssh-server is removed">
<linux:object object_ref="oval:ssg-obj_package_openssh-server_removed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="all_exist" id="oval:ssg-test_package_rsyslog_installed:tst:1" version="1" comment="package rsyslog is installed">
<linux:object object_ref="oval:ssg-obj_package_rsyslog_installed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_telnetd-ssl_removed:tst:1" version="1" comment="package telnetd-ssl is removed">
<linux:object object_ref="oval:ssg-obj_package_telnetd-ssl_removed:obj:1"/>
</linux:dpkginfo_test>
<linux:dpkginfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_telnetd_removed:tst:1" version="1" comment="package telnetd is removed">
<linux:object object_ref="oval:ssg-obj_package_telnetd_removed:obj:1"/>
</linux:dpkginfo_test>
<linux:systemdunitdependency_test check="all" check_existence="any_exist" comment="systemd test" id="oval:ssg-test_multi_user_wants_auditd:tst:1" version="1">
<linux:object object_ref="oval:ssg-object_multi_user_target_for_auditd:obj:1"/>
<linux:state state_ref="oval:ssg-state_systemd_auditd_on:ste:1"/>
</linux:systemdunitdependency_test>
<linux:systemdunitdependency_test check="all" check_existence="any_exist" comment="systemd test" id="oval:ssg-test_multi_user_wants_cron:tst:1" version="1">
<linux:object object_ref="oval:ssg-object_multi_user_target_for_cron:obj:1"/>
<linux:state state_ref="oval:ssg-state_systemd_cron_on:ste:1"/>
</linux:systemdunitdependency_test>
<linux:systemdunitdependency_test check="all" check_existence="any_exist" comment="systemd test" id="oval:ssg-test_multi_user_wants_ntpd:tst:1" version="1">
<linux:object object_ref="oval:ssg-object_multi_user_target_for_ntpd:obj:1"/>
<linux:state state_ref="oval:ssg-state_systemd_ntpd_on:ste:1"/>
</linux:systemdunitdependency_test>
<linux:systemdunitdependency_test check="all" check_existence="any_exist" comment="systemd test" id="oval:ssg-test_multi_user_wants_rsyslog:tst:1" version="1">
<linux:object object_ref="oval:ssg-object_multi_user_target_for_rsyslog:obj:1"/>
<linux:state state_ref="oval:ssg-state_systemd_rsyslog_on:ste:1"/>
</linux:systemdunitdependency_test>
<linux:systemdunitdependency_test check="all" check_existence="any_exist" comment="systemd test" id="oval:ssg-test_sshd_not_wanted_by_multi_user_target:tst:1" version="1">
<linux:object object_ref="oval:ssg-object_multi_user_target_for_sshd:obj:1"/>
<linux:state state_ref="oval:ssg-state_systemd_sshd_off:ste:1"/>
</linux:systemdunitdependency_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter fs.protected_hardlinks set to 1" id="oval:ssg-test_runtime_sysctl_fs_protected_hardlinks:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_fs_protected_hardlinks:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_fs_protected_hardlinks:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter fs.protected_symlinks set to 1" id="oval:ssg-test_runtime_sysctl_fs_protected_symlinks:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_fs_protected_symlinks:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_fs_protected_symlinks:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter fs.suid_dumpable set to 0" id="oval:ssg-test_runtime_sysctl_fs_suid_dumpable:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_fs_suid_dumpable:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_fs_suid_dumpable:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.dmesg_restrict set to 1" id="oval:ssg-test_runtime_sysctl_kernel_dmesg_restrict:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_dmesg_restrict:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_dmesg_restrict:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.kptr_restrict set to 1" id="oval:ssg-test_runtime_sysctl_kernel_kptr_restrict:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_kptr_restrict:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_kptr_restrict:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.perf_cpu_time_max_percent set to 1" id="oval:ssg-test_runtime_sysctl_kernel_perf_cpu_time_max_percent:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_perf_cpu_time_max_percent:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_perf_cpu_time_max_percent:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.perf_event_max_sample_rate set to 1" id="oval:ssg-test_runtime_sysctl_kernel_perf_event_max_sample_rate:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_perf_event_max_sample_rate:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_perf_event_max_sample_rate:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.perf_event_paranoid set to 2" id="oval:ssg-test_runtime_sysctl_kernel_perf_event_paranoid:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_perf_event_paranoid:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_perf_event_paranoid:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.pid_max set to 65536" id="oval:ssg-test_runtime_sysctl_kernel_pid_max:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_pid_max:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_pid_max:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.randomize_va_space set to 2" id="oval:ssg-test_runtime_sysctl_kernel_randomize_va_space:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_randomize_va_space:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_randomize_va_space:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter kernel.sysrq set to 0" id="oval:ssg-test_runtime_sysctl_kernel_sysrq:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_kernel_sysrq:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_kernel_sysrq:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter net.ipv4.ip_forward set to the appropriate value" id="oval:ssg-test_runtime_sysctl_net_ipv4_ip_forward:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_net_ipv4_ip_forward:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_net_ipv4_ip_forward:ste:1"/>
</unix:sysctl_test>
<unix:sysctl_test check="all" check_existence="all_exist" comment="kernel runtime parameter vm.mmap_min_addr set to 65536" id="oval:ssg-test_runtime_sysctl_vm_mmap_min_addr:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_sysctl_vm_mmap_min_addr:obj:1"/>
<unix:state state_ref="oval:ssg-state_sysctl_vm_mmap_min_addr:ste:1"/>
</unix:sysctl_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="fs.protected_hardlinks static configuration" id="oval:ssg-test_static_sysctl_fs_protected_hardlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_fs_protected_hardlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.protected_hardlinks static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_fs_protected_hardlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_fs_protected_hardlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.protected_hardlinks static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_fs_protected_hardlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_fs_protected_hardlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.protected_hardlinks static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_fs_protected_hardlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_fs_protected_hardlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="fs.protected_symlinks static configuration" id="oval:ssg-test_static_sysctl_fs_protected_symlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_fs_protected_symlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.protected_symlinks static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_fs_protected_symlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_fs_protected_symlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.protected_symlinks static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_fs_protected_symlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_fs_protected_symlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.protected_symlinks static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_fs_protected_symlinks:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_fs_protected_symlinks:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="fs.suid_dumpable static configuration" id="oval:ssg-test_static_sysctl_fs_suid_dumpable:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_fs_suid_dumpable:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.suid_dumpable static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_fs_suid_dumpable:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_fs_suid_dumpable:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.suid_dumpable static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_fs_suid_dumpable:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_fs_suid_dumpable:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="fs.suid_dumpable static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_fs_suid_dumpable:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_fs_suid_dumpable:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.dmesg_restrict static configuration" id="oval:ssg-test_static_sysctl_kernel_dmesg_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_dmesg_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.dmesg_restrict static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_dmesg_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_dmesg_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.dmesg_restrict static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_dmesg_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_dmesg_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.dmesg_restrict static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_dmesg_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_dmesg_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.kptr_restrict static configuration" id="oval:ssg-test_static_sysctl_kernel_kptr_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_kptr_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.kptr_restrict static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_kptr_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_kptr_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.kptr_restrict static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_kptr_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_kptr_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.kptr_restrict static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_kptr_restrict:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_kptr_restrict:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.perf_cpu_time_max_percent static configuration" id="oval:ssg-test_static_sysctl_kernel_perf_cpu_time_max_percent:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_perf_cpu_time_max_percent:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_cpu_time_max_percent static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_perf_cpu_time_max_percent:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_perf_cpu_time_max_percent:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_cpu_time_max_percent static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_perf_cpu_time_max_percent:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_perf_cpu_time_max_percent:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_cpu_time_max_percent static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_perf_cpu_time_max_percent:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_perf_cpu_time_max_percent:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.perf_event_max_sample_rate static configuration" id="oval:ssg-test_static_sysctl_kernel_perf_event_max_sample_rate:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_perf_event_max_sample_rate:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_event_max_sample_rate static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_perf_event_max_sample_rate:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_perf_event_max_sample_rate:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_event_max_sample_rate static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_perf_event_max_sample_rate:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_perf_event_max_sample_rate:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_event_max_sample_rate static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_perf_event_max_sample_rate:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_perf_event_max_sample_rate:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.perf_event_paranoid static configuration" id="oval:ssg-test_static_sysctl_kernel_perf_event_paranoid:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_perf_event_paranoid:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_event_paranoid static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_perf_event_paranoid:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_perf_event_paranoid:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_event_paranoid static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_perf_event_paranoid:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_perf_event_paranoid:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.perf_event_paranoid static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_perf_event_paranoid:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_perf_event_paranoid:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.pid_max static configuration" id="oval:ssg-test_static_sysctl_kernel_pid_max:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_pid_max:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.pid_max static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_pid_max:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_pid_max:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.pid_max static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_pid_max:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_pid_max:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.pid_max static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_pid_max:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_pid_max:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.randomize_va_space static configuration" id="oval:ssg-test_static_sysctl_kernel_randomize_va_space:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_randomize_va_space:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.randomize_va_space static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_randomize_va_space:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_randomize_va_space:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.randomize_va_space static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_randomize_va_space:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_randomize_va_space:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.randomize_va_space static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_randomize_va_space:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_randomize_va_space:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="kernel.sysrq static configuration" id="oval:ssg-test_static_sysctl_kernel_sysrq:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_kernel_sysrq:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.sysrq static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_kernel_sysrq:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_kernel_sysrq:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.sysrq static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_kernel_sysrq:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_kernel_sysrq:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="kernel.sysrq static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_kernel_sysrq:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_kernel_sysrq:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="net.ipv4.ip_forward static configuration" id="oval:ssg-test_static_sysctl_net_ipv4_ip_forward:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_net_ipv4_ip_forward:obj:1"/>
<ind:state state_ref="oval:ssg-state_static_sysctld_net_ipv4_ip_forward:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="net.ipv4.ip_forward static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_net_ipv4_ip_forward:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_net_ipv4_ip_forward:obj:1"/>
<ind:state state_ref="oval:ssg-state_static_sysctld_net_ipv4_ip_forward:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="net.ipv4.ip_forward static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_net_ipv4_ip_forward:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_net_ipv4_ip_forward:obj:1"/>
<ind:state state_ref="oval:ssg-state_static_sysctld_net_ipv4_ip_forward:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="net.ipv4.ip_forward static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_net_ipv4_ip_forward:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_net_ipv4_ip_forward:obj:1"/>
<ind:state state_ref="oval:ssg-state_static_sysctld_net_ipv4_ip_forward:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="vm.mmap_min_addr static configuration" id="oval:ssg-test_static_sysctl_vm_mmap_min_addr:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_sysctl_vm_mmap_min_addr:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="vm.mmap_min_addr static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_etc_sysctld_vm_mmap_min_addr:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_etc_sysctld_vm_mmap_min_addr:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="vm.mmap_min_addr static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_run_sysctld_vm_mmap_min_addr:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_run_sysctld_vm_mmap_min_addr:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="vm.mmap_min_addr static configuration in /etc/sysctl.d/*.conf" id="oval:ssg-test_static_usr_lib_sysctld_vm_mmap_min_addr:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_static_usr_lib_sysctld_vm_mmap_min_addr:obj:1"/>
</ind:textfilecontent54_test>
<unix:file_test check="all" check_existence="all_exist" id="oval:ssg-test_rsyslog_files_ownership:tst:1" version="1" comment="System log files are owned by root">
<unix:object object_ref="oval:ssg-object_rsyslog_files_ownership:obj:1"/>
<unix:state state_ref="oval:ssg-state_rsyslog_files_ownership:ste:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="system.map files readable only by root" id="oval:ssg-test_permissions_systemmap_files:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_file_permissions_systemmap_files:obj:1"/>
<unix:state state_ref="oval:ssg-state_owner_systemmap:ste:1"/>
<unix:state state_ref="oval:ssg-state_file_permissions_systemmap:ste:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="/etc/debian_version exists" id="oval:ssg-test_debian:tst:1" version="1">
<unix:object object_ref="oval:ssg-obj_debian:obj:1"/>
</unix:file_test>
<ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check Debian version" id="oval:ssg-test_debian_8:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_debian_8:obj:1"/>
</ind:textfilecontent54_test>
<linux:partition_test check="all" check_existence="all_exist" id="oval:ssg-test_home_partition:tst:1" version="1" comment="/home on own partition">
<linux:object object_ref="oval:ssg-object_mount_home_own_partition:obj:1"/>
</linux:partition_test>
<linux:partition_test check="all" check_existence="all_exist" id="oval:ssg-test_srv_partition:tst:1" version="1" comment="/srv on own partition">
<linux:object object_ref="oval:ssg-object_mount_srv_own_partition:obj:1"/>
</linux:partition_test>
<linux:partition_test check="all" check_existence="all_exist" id="oval:ssg-test_tmp_partition:tst:1" version="1" comment="/tmp on own partition">
<linux:object object_ref="oval:ssg-object_own_tmp_partition:obj:1"/>
</linux:partition_test>
<linux:partition_test check="all" check_existence="all_exist" id="oval:ssg-test_var_partition:tst:1" version="1" comment="/var on own partition">
<linux:object object_ref="oval:ssg-object_mount_var_own_partition:obj:1"/>
</linux:partition_test>
<linux:partition_test check="all" check_existence="all_exist" id="oval:ssg-test_var_log_partition:tst:1" version="1" comment="/var/log on own partition">
<linux:object object_ref="oval:ssg-object_mount_var_log_own_partition:obj:1"/>
</linux:partition_test>
<linux:partition_test check="all" check_existence="all_exist" id="oval:ssg-test_var_log_audit_partition:tst:1" version="1" comment="check for /var/log/audit partition">
<linux:object object_ref="oval:ssg-object_mount_var_log_audit_own_partition:obj:1"/>
</linux:partition_test>
<ind:variable_test id="oval:ssg-test_etc_passwd_no_duplicate_user_names:tst:1" check="all" check_existence="all_exist" comment="There should not exist duplicate user name entries in /etc/passwd" version="1">
<ind:object object_ref="oval:ssg-object_count_of_all_usernames_from_etc_passwd:obj:1"/>
<ind:state state_ref="oval:ssg-state_etc_passwd_no_duplicate_user_names:ste:1"/>
</ind:variable_test>
<ind:variable_test id="oval:ssg-test_pass_max_days:tst:1" check="all" comment="The value of PASS_MAX_DAYS should be set appropriately in /etc/login.defs" version="1">
<ind:object object_ref="oval:ssg-object_last_pass_max_days_instance_value:obj:1"/>
<ind:state state_ref="oval:ssg-state_last_pass_max_days_instance_value:ste:1"/>
</ind:variable_test>
<ind:variable_test id="oval:ssg-test_pass_min_days:tst:1" check="all" comment="The value of PASS_MIN_DAYS should be set appropriately in /etc/login.defs" version="1">
<ind:object object_ref="oval:ssg-object_last_pass_min_days_instance_value:obj:1"/>
<ind:state state_ref="oval:ssg-state_last_pass_min_days_instance_value:ste:1"/>
</ind:variable_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="test that there are no accounts with UID 0 except root in the /etc/passwd file" id="oval:ssg-test_accounts_no_uid_except_root:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_accounts_no_uid_except_root:obj:1"/>
</ind:textfilecontent54_test>
<unix:password_test check="all" comment="password hashes are shadowed" id="oval:ssg-test_accounts_password_all_shadowed:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_accounts_password_all_shadowed:obj:1"/>
<unix:state state_ref="oval:ssg-state_accounts_password_all_shadowed:ste:1"/>
</unix:password_test>
<ind:variable_test id="oval:ssg-test_pass_min_len:tst:1" check="all" comment="The value of PASS_MIN_LEN should be set appropriately in /etc/login.defs" version="1">
<ind:object object_ref="oval:ssg-object_last_pass_min_len_instance_value:obj:1"/>
<ind:state state_ref="oval:ssg-state_last_pass_min_len_instance_value:ste:1"/>
</ind:variable_test>
<ind:variable_test id="oval:ssg-test_pass_warn_age:tst:1" check="all" comment="The value of PASS_WARN_AGE should be set appropriately in /etc/login.defs" version="1">
<ind:object object_ref="oval:ssg-object_last_pass_warn_age_instance_value:obj:1"/>
<ind:state state_ref="oval:ssg-state_last_pass_warn_age_instance_value:ste:1"/>
</ind:variable_test>
<ind:textfilecontent54_test id="oval:ssg-test_accounts_passwords_pam_faillock_preauth_silent_system-auth:tst:1" check="all" check_existence="all_exist" comment="Check pam_faillock.so preauth silent present in /etc/pam.d/system-auth" version="1">
<ind:object object_ref="oval:ssg-object_accounts_passwords_pam_faillock_preauth_silent_system-auth:obj:1"/>
<ind:state state_ref="oval:ssg-state_var_accounts_passwords_pam_faillock_deny_value:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test id="oval:ssg-test_accounts_passwords_pam_faillock_authfail_deny_system-auth:tst:1" check="all" check_existence="all_exist" comment="Check maximum failed login attempts allowed in /etc/pam.d/system-auth (authfail)" version="1">
<ind:object object_ref="oval:ssg-object_accounts_passwords_pam_faillock_authfail_deny_system-auth:obj:1"/>
<ind:state state_ref="oval:ssg-state_var_accounts_passwords_pam_faillock_deny_value:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test id="oval:ssg-test_accounts_passwords_pam_faillock_account_phase_system-auth:tst:1" check="all" check_existence="all_exist" comment="Check if pam_faillock_so is called in account phase of /etc/pam.d/system-auth" version="1">
<ind:object object_ref="oval:ssg-object_accounts_passwords_pam_faillock_account_phase_system-auth:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test id="oval:ssg-test_accounts_passwords_pam_faillock_preauth_silent_password-auth:tst:1" check="all" check_existence="all_exist" comment="Check pam_faillock.so preauth silent present in /etc/pam.d/password-auth" version="1">
<ind:object object_ref="oval:ssg-object_accounts_passwords_pam_faillock_preauth_silent_password-auth:obj:1"/>
<ind:state state_ref="oval:ssg-state_var_accounts_passwords_pam_faillock_deny_value:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test id="oval:ssg-test_accounts_passwords_pam_faillock_authfail_deny_password-auth:tst:1" check="all" check_existence="all_exist" comment="Check maximum failed login attempts allowed in /etc/pam.d/password-auth (authfail)" version="1">
<ind:object object_ref="oval:ssg-object_accounts_passwords_pam_faillock_authfail_deny_password-auth:obj:1"/>
<ind:state state_ref="oval:ssg-state_var_accounts_passwords_pam_faillock_deny_value:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test id="oval:ssg-test_accounts_passwords_pam_faillock_account_phase_password-auth:tst:1" check="all" check_existence="all_exist" comment="Check if pam_faillock_so is called in account phase of /etc/pam.d/password-auth" version="1">
<ind:object object_ref="oval:ssg-object_accounts_passwords_pam_faillock_account_phase_password-auth:obj:1"/>
</ind:textfilecontent54_test>
<unix:file_test check="all" check_existence="none_exist" comment="Check if there aren't directories in root's path having write permission set for group or other" id="oval:ssg-test_accounts_root_path_dirs_no_group_other_write:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_accounts_root_path_dirs_no_group_other_write:obj:1"/>
</unix:file_test>
<ind:textfilecontent54_test check="all" comment="audispd syslog plugin activated" id="oval:ssg-test_auditd_audispd_syslog_plugin_activated:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_auditd_audispd_syslog_plugin_activated:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test id="oval:ssg-test_auditd_conf_log_group_not_root:tst:1" check="all" check_existence="none_exist" comment="log_group = root" version="1">
<ind:object object_ref="oval:ssg-object_auditd_conf_log_group_root:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="email account for actions" id="oval:ssg-test_auditd_data_retention_action_mail_acct:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_auditd_data_retention_action_mail_acct:obj:1"/>
<ind:state state_ref="oval:ssg-state_auditd_data_retention_action_mail_acct:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="space left action" id="oval:ssg-test_auditd_data_retention_admin_space_left_action:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_auditd_data_retention_admin_space_left_action:obj:1"/>
<ind:state state_ref="oval:ssg-state_auditd_data_retention_admin_space_left_action:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="max log file size" id="oval:ssg-test_auditd_data_retention_max_log_file:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_auditd_data_retention_max_log_file:obj:1"/>
<ind:state state_ref="oval:ssg-state_auditd_data_retention_max_log_file:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="admin space left action " id="oval:ssg-test_auditd_data_retention_max_log_file_action:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_auditd_data_retention_max_log_file_action:obj:1"/>
<ind:state state_ref="oval:ssg-state_auditd_data_retention_max_log_file_action:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="admin space left action " id="oval:ssg-test_auditd_data_retention_num_logs:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_auditd_data_retention_num_logs:obj:1"/>
<ind:state state_ref="oval:ssg-state_auditd_data_retention_num_logs:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" comment="space left action" id="oval:ssg-test_auditd_data_retention_space_left_action:tst:1" version="2">
<ind:object object_ref="oval:ssg-object_auditd_data_retention_space_left_action:obj:1"/>
<ind:state state_ref="oval:ssg-state_auditd_data_retention_space_left_action:ste:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="check value of gpgcheck in /etc/yum.conf" id="oval:ssg-test_yum_ensure_gpgcheck_globally_activated:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_yum_ensure_gpgcheck_globally_activated:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="check value of gpgcheck in /etc/dnf/dnf.conf" id="oval:ssg-test_dnf_ensure_gpgcheck_globally_activated:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_dnf_ensure_gpgcheck_globally_activated:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of daily setting in /etc/logrotate.conf file" id="oval:ssg-test_logrotate_conf_daily_setting:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_logrotate_conf_daily_setting:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the existence of /etc/cron.daily/logrotate file (and verify it actually calls logrotate utility)" id="oval:ssg-test_cron_daily_logrotate_existence:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_cron_daily_logrotate_existence:obj:1"/>
</ind:textfilecontent54_test>
<unix:file_test check="all" check_existence="none_exist" comment="/var/log/audit directories uid root gid root" id="oval:ssg-test_ownership_var_log_audit_directories:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_ownership_var_log_audit_directories:obj:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="none_exist" comment="/var/log/audit files uid root gid root" id="oval:ssg-test_ownership_var_log_audit_files:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_ownership_var_log_audit_files:obj:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="/var/log/audit directories uid root gid root" id="oval:ssg-test_ownership_var_log_audit_directories-non_root:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_ownership_var_log_audit_directories-non_root:obj:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="all_exist" comment="/var/log/audit files uid root gid root" id="oval:ssg-test_ownership_var_log_audit_files-non_root:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_ownership_var_log_audit_files-non_root:obj:1"/>
</unix:file_test>
<unix:file_test check="all" check_existence="at_least_one_exists" comment="home directories" id="oval:ssg-test_file_permissions_home_dirs:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_file_permissions_home_dirs:obj:1"/>
<unix:state state_ref="oval:ssg-state_home_dirs_wrong_perm:ste:1"/>
</unix:file_test>
<linux:rpminfo_test check="all" check_existence="all_exist" id="oval:ssg-test_linuxshield_install_antivirus:tst:1" version="1" comment="AntiVirus package is installed">
<linux:object object_ref="oval:ssg-obj_linuxshield_install_antivirus:obj:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="all_exist" id="oval:ssg-test_mcafee_runtime_installed:tst:1" version="1" comment="Runtime Libraries package is installed">
<linux:object object_ref="oval:ssg-obj_mcafee_runtime_installed:obj:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="all_exist" id="oval:ssg-test_mcafee_management_agent:tst:1" version="1" comment="Agent package is installed">
<linux:object object_ref="oval:ssg-obj_mcafee_management_agent:obj:1"/>
</linux:rpminfo_test>
<unix:file_test check="all" check_existence="all_exist" comment="McAfee ACCM installed" id="oval:ssg-test_mcafee_accm_exists:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_mcafee_accm_exists:obj:1"/>
</unix:file_test>
<linux:rpminfo_test check="all" check_existence="all_exist" id="oval:ssg-test_mcafee_hbss_hips_installed:tst:1" version="1" comment="McAfee IPS is installed">
<linux:object object_ref="oval:ssg-obj_mcafee_hbss_hips_installed:obj:1"/>
</linux:rpminfo_test>
<unix:file_test check="all" check_existence="all_exist" comment="McAfee Policy Auditor installed" id="oval:ssg-test_mcafee_auditengine_exists:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_mcafee_auditengine_exists:obj:1"/>
</unix:file_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="centos-release is version 6" id="oval:ssg-test_centos6:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_centos6:obj:1"/>
<linux:state state_ref="oval:ssg-state_centos6:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="centos-release is version 7" id="oval:ssg-test_centos7:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_centos7:obj:1"/>
<linux:state state_ref="oval:ssg-state_centos7:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="only_one_exists" comment="fedora-release RPM package is installed" id="oval:ssg-test_fedora_release_rpm:tst:1" version="1">
<linux:object object_ref="oval:ssg-object_fedora_release_rpm:obj:1"/>
</linux:rpminfo_test>
<ind:textfilecontent54_test check="all" comment="CPE vendor is 'fedoraproject' and 'product' is fedora" id="oval:ssg-test_fedora_vendor_product:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_fedora_vendor_product:obj:1"/>
</ind:textfilecontent54_test>
<ind:family_test id="oval:ssg-test_unix_family:tst:1" check="all" check_existence="at_least_one_exists" comment="Test installed OS is part of the unix family" version="1">
<ind:object object_ref="oval:ssg-object_unix_family:obj:1"/>
<ind:state state_ref="oval:ssg-state_unix_family:ste:1"/>
</ind:family_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-workstation is version 6" id="oval:ssg-test_rhel_workstation:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_rhel_workstation:obj:1"/>
<linux:state state_ref="oval:ssg-state_rhel_workstation:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-server is version 6" id="oval:ssg-test_rhel_server:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_rhel_server:obj:1"/>
<linux:state state_ref="oval:ssg-state_rhel_server:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-computenode is version 6" id="oval:ssg-test_rhel_computenode:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_rhel_computenode:obj:1"/>
<linux:state state_ref="oval:ssg-state_rhel_computenode:ste:1"/>
</linux:rpminfo_test>
<ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="oval:ssg-test_rhel7_unix_family:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_rhel7_unix_family:obj:1"/>
<ind:state state_ref="oval:ssg-state_rhel7_unix_family:ste:1"/>
</ind:family_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-workstation is version 7" id="oval:ssg-test_rhel7_workstation:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_rhel7_workstation:obj:1"/>
<linux:state state_ref="oval:ssg-state_rhel7_workstation:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-server is version 7" id="oval:ssg-test_rhel7_server:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_rhel7_server:obj:1"/>
<linux:state state_ref="oval:ssg-state_rhel7_server:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-computenode is version 7" id="oval:ssg-test_rhel7_computenode:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_rhel7_computenode:obj:1"/>
<linux:state state_ref="oval:ssg-state_rhel7_computenode:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="sl-release is version 6" id="oval:ssg-test_sl6:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_sl6:obj:1"/>
<linux:state state_ref="oval:ssg-state_sl6:ste:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="sl-release is version 7" id="oval:ssg-test_sl7:tst:1" version="1">
<linux:object object_ref="oval:ssg-obj_sl7:obj:1"/>
<linux:state state_ref="oval:ssg-state_sl7:ste:1"/>
</linux:rpminfo_test>
<ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="oval:ssg-test_unix_wrlinux:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_unix_wrlinux:obj:1"/>
<ind:state state_ref="oval:ssg-state_unix_wrlinux:ste:1"/>
</ind:family_test>
<unix:file_test check_existence="at_least_one_exists" version="1" id="oval:ssg-test_wrlinux:tst:1" check="all" comment="Test presence of /etc/wrlinux-release.">
<unix:object object_ref="oval:ssg-obj_test_wrlinux:obj:1"/>
</unix:file_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="/etc/securetty file exists" id="oval:ssg-test_etc_securetty_exists:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_etc_securetty_exists:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="no entries in /etc/securetty" id="oval:ssg-test_no_direct_root_logins:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_no_direct_root_logins:obj:1"/>
</ind:textfilecontent54_test>
<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-test_no_empty_passwords:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_no_empty_passwords:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the insecure locks in /etc/exports" id="oval:ssg-test_no_insecure_locks_exports:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_no_insecure_locks_exports:obj:1"/>
</ind:textfilecontent54_test>
<unix:file_test check="all" check_existence="at_least_one_exists" comment="look for .netrc in /home" id="oval:ssg-test_no_netrc_files_home:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_no_netrc_files_home:obj:1"/>
</unix:file_test>
<ind:variable_test id="oval:ssg-test_shell_defined_default_uid_range:tst:1" check="all" check_existence="all_exist" comment="<0, UID_MIN - 1> system UIDs having shell set" version="1">
<ind:object object_ref="oval:ssg-object_shell_defined_default_uid_range:obj:1"/>
<ind:state state_ref="oval:ssg-state_shell_defined_default_uid_range:ste:1"/>
</ind:variable_test>
<ind:textfilecontent54_test id="oval:ssg-test_sys_uid_min_not_defined:tst:1" comment="SYS_UID_MIN not defined in /etc/login.defs" check="all" check_existence="none_exist" version="1">
<ind:object object_ref="oval:ssg-object_last_sys_uid_min_from_etc_login_defs:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test id="oval:ssg-test_sys_uid_max_not_defined:tst:1" comment="SYS_UID_MAX not defined in /etc/login.defs" check="all" check_existence="none_exist" version="1">
<ind:object object_ref="oval:ssg-object_last_sys_uid_max_from_etc_login_defs:obj:1"/>
</ind:textfilecontent54_test>
<ind:variable_test id="oval:ssg-test_shell_defined_reserved_uid_range:tst:1" check="all" check_existence="all_exist" comment="<0, SYS_UID_MIN> system UIDs having shell set" version="1">
<ind:object object_ref="oval:ssg-object_shell_defined_reserved_uid_range:obj:1"/>
<ind:state state_ref="oval:ssg-state_shell_defined_reserved_uid_range:ste:1"/>
</ind:variable_test>
<ind:variable_test id="oval:ssg-test_shell_defined_dynalloc_uid_range:tst:1" check="all" check_existence="all_exist" comment="<SYS_UID_MIN, SYS_UID_MAX> system UIDS having shell set" version="1">
<ind:object object_ref="oval:ssg-object_shell_defined_dynalloc_uid_range:obj:1"/>
<ind:state state_ref="oval:ssg-state_shell_defined_dynalloc_uid_range:ste:1"/>
</ind:variable_test>
<linux:rpminfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_net-snmp_removed:tst:1" version="1" comment="package net-snmp is removed">
<linux:object object_ref="oval:ssg-obj_package_net-snmp_removed:obj:1"/>
</linux:rpminfo_test>
<linux:rpminfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_prelink_removed:tst:1" version="1" comment="package prelink is removed">
<linux:object object_ref="oval:ssg-obj_package_prelink_removed:obj:1"/>
</linux:rpminfo_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="serial ports /etc/securetty" id="oval:ssg-test_serial_ports_etc_securetty:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_serial_ports_etc_securetty:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Ensures system configured to export logs to remote host" id="oval:ssg-test_remote_rsyslog_conf:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_remote_loghost_rsyslog_conf:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Ensures system configured to export logs to remote host" id="oval:ssg-test_remote_rsyslog_d:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_remote_loghost_rsyslog_d:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="virtual consoles /etc/securetty" id="oval:ssg-test_virtual_consoles_etc_securetty:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_virtual_consoles_etc_securetty:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="Check snmpd configuration" id="oval:ssg-test_snmp_default_communities:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_snmp_default_communities:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="Check snmpd configuration" id="oval:ssg-test_snmp_versions:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_snmp_versions:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="sshd uses protocol 2" id="oval:ssg-test_sshd_allow_only_protocol2:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_sshd_allow_only_protocol2:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the PermitEmptyPasswords[\s]*(<:nocomment:>*) setting in the /etc/ssh/sshd_config file" id="oval:ssg-test_sshd_permitemptypasswords_no:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_sshd_permitemptypasswords_no:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the RhostsRSAAuthentication[\s]*(<:nocomment:>*) setting in the /etc/ssh/sshd_config file" id="oval:ssg-test_sshd_disable_rhosts_rsa:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_sshd_disable_rhosts_rsa:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the PermitRootLogin[\s]*(<:nocomment:>*) setting in the /etc/ssh/sshd_config file" id="oval:ssg-test_sshd_permitrootlogin_no:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_sshd_permitrootlogin_no:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the IgnoreUserKnownHosts[\s]*(<:nocomment:>*) setting in the /etc/ssh/sshd_config file" id="oval:ssg-test_sshd_disable_user_known_hosts:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_sshd_disable_user_known_hosts:obj:1"/>
</ind:textfilecontent54_test>
<ind:textfilecontent54_test check="all" check_existence="all_exist" comment="timeout is configured" id="oval:ssg-test_sshd_idle_timeout:tst:1" version="1">
<ind:object object_ref="oval:ssg-object_sshd_idle_timeout:obj:1"/>
<ind:state state_ref="oval:ssg-state_timeout_value_upper_bound:ste:1"/>
<ind:state state_ref="oval:ssg-state_timeout_value_lower_bound:ste:1"/>
</ind:textfilecontent54_test>
<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-test_sshd_clientalivecountmax:tst:1" version="1">
<ind:object object_ref="oval:ssg-obj_sshd_clientalivecountmax:obj:1"/>
<ind:state state_ref="oval:ssg-state_sshd_clientalivecountmax:ste:1"/>
</ind:textfilecontent54_test>
<unix:uname_test check="all" comment="64 bit architecture" id="oval:ssg-test_system_info_architecture_ppc_64:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_system_info_architecture_ppc_64:obj:1"/>
<unix:state state_ref="oval:ssg-state_system_info_architecture_ppc_64:ste:1"/>
</unix:uname_test>
<unix:uname_test check="all" comment="64 bit architecture" id="oval:ssg-test_system_info_architecture_ppcle_64:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_system_info_architecture_ppcle_64:obj:1"/>
<unix:state state_ref="oval:ssg-state_system_info_architecture_ppcle_64:ste:1"/>
</unix:uname_test>
<unix:uname_test check="all" comment="32 bit architecture" id="oval:ssg-test_system_info_architecture_x86:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_system_info_architecture_x86:obj:1"/>
<unix:state state_ref="oval:ssg-state_system_info_architecture_x86:ste:1"/>
</unix:uname_test>
<unix:uname_test check="all" comment="64 bit architecture" id="oval:ssg-test_system_info_architecture_x86_64:tst:1" version="1">
<unix:object object_ref="oval:ssg-object_system_info_architecture_x86_64:obj:1"/>
<unix:state state_ref="oval:ssg-state_system_info_architecture_x86_64:ste:1"/>
</unix:uname_test>
</tests>
<objects>
<ind:textfilecontent54_object id="oval:ssg-object_rfg_rsyslog_include_config_value:obj:1" comment="rsyslog's $IncludeConfig directive value" version="1">
<ind:filepath>/etc/rsyslog.conf</ind:filepath>
<ind:pattern operation="pattern match">^\$IncludeConfig[\s]+([^\s;]+)</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_rfg_log_files_paths:obj:1" comment="All rsyslog configuration files" version="1">
<ind:filepath operation="pattern match" var_ref="oval:ssg-var_rfg_all_log_files_as_collection:var:1" var_check="at least one"/>
<!-- Chunk of text retrieved from rsyslog's configuration file is considered
to constitute a log file path if all of the following conditions are met:
* the string represents a regular file on particular file system
(verified via corresponding file_state below),
* the chunk of text is in the last column in the row,
(possibly suffixed by ';' character and rsyslog Template name),
* contains at least one slash '/' character, and simultaneously
doesn't contain any of ';', ':' and space characters,
* the chunk was retrieved from a row not starting with space, '#',
or '$' characters
-->
<ind:pattern operation="pattern match">^[^(\s|#|\$)]+[\s]+.*[\s]+-?(/+[^:;\s]+);*.*$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<unix:file_object id="oval:ssg-object_rsyslog_files_groupownership:obj:1" comment="Various system log files" version="1">
<unix:filepath datatype="string" var_ref="oval:ssg-var_rfg_log_files_paths:var:1" var_check="at least one"/>
</unix:file_object>
<ind:textfilecontent54_object id="oval:ssg-object_rfp_rsyslog_include_config_value:obj:1" comment="rsyslog's $IncludeConfig directive value" version="1">
<ind:filepath>/etc/rsyslog.conf</ind:filepath>
<ind:pattern operation="pattern match">^\$IncludeConfig[\s]+([^\s;]+)</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_rfp_log_files_paths:obj:1" comment="All rsyslog configuration files" version="1">
<ind:filepath operation="pattern match" var_ref="oval:ssg-var_rfp_all_log_files_as_collection:var:1" var_check="at least one"/>
<!-- Chunk of text retrieved from rsyslog's configuration file is considered
to constitute a log file path if all of the following conditions are met:
* the string represents a regular file on particular file system
(verified via corresponding file_state below),
* the chunk of text is in the last column in the row,
(possibly suffixed by ';' character and rsyslog Template name),
* contains at least one slash '/' character, and simultaneously
doesn't contain any of ';', ':' and space characters,
* the chunk was retrieved from a row not starting with space, '#',
or '$' characters
-->
<ind:pattern operation="pattern match">^[^(\s|#|\$)]+[\s]+.*[\s]+-?(/+[^:;\s]+);*.*$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<unix:file_object id="oval:ssg-object_rsyslog_files_permissions:obj:1" comment="Various system log files" version="1">
<unix:filepath datatype="string" var_ref="oval:ssg-var_rfp_log_files_paths:var:1" var_check="at least one"/>
</unix:file_object>
<unix:file_object comment="/etc/group" id="oval:ssg-object_etc_group:obj:1" version="1">
<unix:path>/etc</unix:path>
<unix:filename>group</unix:filename>
</unix:file_object>
<unix:file_object comment="/etc/gshadow" id="oval:ssg-object_etc_gshadow:obj:1" version="1">
<unix:path>/etc</unix:path>
<unix:filename>gshadow</unix:filename>
</unix:file_object>
<unix:file_object comment="/etc/passwd" id="oval:ssg-object_etc_passwd:obj:1" version="1">
<unix:path>/etc</unix:path>
<unix:filename>passwd</unix:filename>
</unix:file_object>
<unix:file_object comment="/etc/shadow" id="oval:ssg-object_etc_shadow:obj:1" version="1">
<unix:path>/etc</unix:path>
<unix:filename>shadow</unix:filename>
</unix:file_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_auditd_installed:obj:1" version="1">
<linux:name>auditd</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_cron_installed:obj:1" version="1">
<linux:name>cron</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_inetutils-telnetd_removed:obj:1" version="1">
<linux:name>inetutils-telnetd</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_nis_removed:obj:1" version="1">
<linux:name>nis</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_ntp_installed:obj:1" version="1">
<linux:name>ntp</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_ntpdate_removed:obj:1" version="1">
<linux:name>ntpdate</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_openssh-server_removed:obj:1" version="1">
<linux:name>openssh-server</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_rsyslog_installed:obj:1" version="1">
<linux:name>rsyslog</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_telnetd-ssl_removed:obj:1" version="1">
<linux:name>telnetd-ssl</linux:name>
</linux:dpkginfo_object>
<linux:dpkginfo_object id="oval:ssg-obj_package_telnetd_removed:obj:1" version="1">
<linux:name>telnetd</linux:name>
</linux:dpkginfo_object>
<linux:systemdunitdependency_object id="oval:ssg-object_multi_user_target_for_auditd:obj:1" comment="list of dependencies of multi-user.target" version="1">
<linux:unit>multi-user.target</linux:unit>
</linux:systemdunitdependency_object>
<linux:systemdunitdependency_object id="oval:ssg-object_multi_user_target_for_cron:obj:1" comment="list of dependencies of multi-user.target" version="1">
<linux:unit>multi-user.target</linux:unit>
</linux:systemdunitdependency_object>
<linux:systemdunitdependency_object id="oval:ssg-object_multi_user_target_for_ntpd:obj:1" comment="list of dependencies of multi-user.target" version="1">
<linux:unit>multi-user.target</linux:unit>
</linux:systemdunitdependency_object>
<linux:systemdunitdependency_object id="oval:ssg-object_multi_user_target_for_rsyslog:obj:1" comment="list of dependencies of multi-user.target" version="1">
<linux:unit>multi-user.target</linux:unit>
</linux:systemdunitdependency_object>
<linux:systemdunitdependency_object id="oval:ssg-object_multi_user_target_for_sshd:obj:1" comment="list of dependencies of multi-user.target" version="1">
<linux:unit>multi-user.target</linux:unit>
</linux:systemdunitdependency_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_fs_protected_hardlinks:obj:1" version="1">
<unix:name>fs.protected_hardlinks</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_fs_protected_symlinks:obj:1" version="1">
<unix:name>fs.protected_symlinks</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_fs_suid_dumpable:obj:1" version="1">
<unix:name>fs.suid_dumpable</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_dmesg_restrict:obj:1" version="1">
<unix:name>kernel.dmesg_restrict</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_kptr_restrict:obj:1" version="1">
<unix:name>kernel.kptr_restrict</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_perf_cpu_time_max_percent:obj:1" version="1">
<unix:name>kernel.perf_cpu_time_max_percent</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_perf_event_max_sample_rate:obj:1" version="1">
<unix:name>kernel.perf_event_max_sample_rate</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_perf_event_paranoid:obj:1" version="1">
<unix:name>kernel.perf_event_paranoid</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_pid_max:obj:1" version="1">
<unix:name>kernel.pid_max</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_randomize_va_space:obj:1" version="1">
<unix:name>kernel.randomize_va_space</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_kernel_sysrq:obj:1" version="1">
<unix:name>kernel.sysrq</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_net_ipv4_ip_forward:obj:1" version="1">
<unix:name>net.ipv4.ip_forward</unix:name>
</unix:sysctl_object>
<unix:sysctl_object id="oval:ssg-object_sysctl_vm_mmap_min_addr:obj:1" version="1">
<unix:name>vm.mmap_min_addr</unix:name>
</unix:sysctl_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_fs_protected_hardlinks:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*fs.protected_hardlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_fs_protected_hardlinks:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.protected_hardlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_fs_protected_hardlinks:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.protected_hardlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_fs_protected_hardlinks:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.protected_hardlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_fs_protected_symlinks:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*fs.protected_symlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_fs_protected_symlinks:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.protected_symlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_fs_protected_symlinks:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.protected_symlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_fs_protected_symlinks:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.protected_symlinks[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_fs_suid_dumpable:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*fs.suid_dumpable[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_fs_suid_dumpable:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.suid_dumpable[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_fs_suid_dumpable:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.suid_dumpable[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_fs_suid_dumpable:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*fs.suid_dumpable[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_dmesg_restrict:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.dmesg_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_dmesg_restrict:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.dmesg_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_dmesg_restrict:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.dmesg_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_dmesg_restrict:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.dmesg_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_kptr_restrict:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.kptr_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_kptr_restrict:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.kptr_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_kptr_restrict:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.kptr_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_kptr_restrict:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.kptr_restrict[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_perf_cpu_time_max_percent:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_cpu_time_max_percent[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_perf_cpu_time_max_percent:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_cpu_time_max_percent[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_perf_cpu_time_max_percent:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_cpu_time_max_percent[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_perf_cpu_time_max_percent:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_cpu_time_max_percent[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_perf_event_max_sample_rate:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_max_sample_rate[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_perf_event_max_sample_rate:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_max_sample_rate[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_perf_event_max_sample_rate:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_max_sample_rate[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_perf_event_max_sample_rate:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_max_sample_rate[\s]*=[\s]*1[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_perf_event_paranoid:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_paranoid[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_perf_event_paranoid:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_paranoid[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_perf_event_paranoid:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_paranoid[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_perf_event_paranoid:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.perf_event_paranoid[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_pid_max:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.pid_max[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_pid_max:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.pid_max[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_pid_max:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.pid_max[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_pid_max:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.pid_max[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_randomize_va_space:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.randomize_va_space[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_randomize_va_space:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.randomize_va_space[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_randomize_va_space:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.randomize_va_space[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_randomize_va_space:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.randomize_va_space[\s]*=[\s]*2[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_kernel_sysrq:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*kernel.sysrq[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_kernel_sysrq:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.sysrq[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_kernel_sysrq:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.sysrq[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_kernel_sysrq:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*kernel.sysrq[\s]*=[\s]*0[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_net_ipv4_ip_forward:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">(?:^|.*\n)[^#]*net.ipv4.ip_forward[\s]*=[\s]*(\d+)[\s]*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_net_ipv4_ip_forward:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">(?:^|.*\n)[^#]*net.ipv4.ip_forward[\s]*=[\s]*(\d+)[\s]*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_net_ipv4_ip_forward:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">(?:^|.*\n)[^#]*net.ipv4.ip_forward[\s]*=[\s]*(\d+)[\s]*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_net_ipv4_ip_forward:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">(?:^|.*\n)[^#]*net.ipv4.ip_forward[\s]*=[\s]*(\d+)[\s]*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_sysctl_vm_mmap_min_addr:obj:1" version="1">
<ind:filepath>/etc/sysctl.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*vm.mmap_min_addr[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_etc_sysctld_vm_mmap_min_addr:obj:1" version="1">
<ind:path>/etc/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*vm.mmap_min_addr[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_run_sysctld_vm_mmap_min_addr:obj:1" version="1">
<ind:path>/run/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*vm.mmap_min_addr[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_static_usr_lib_sysctld_vm_mmap_min_addr:obj:1" version="1">
<ind:path>/usr/lib/sysctl.d</ind:path>
<ind:filename operation="pattern match">^.*\.conf$</ind:filename>
<ind:pattern operation="pattern match">^[\s]*vm.mmap_min_addr[\s]*=[\s]*65536[\s]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_rfo_rsyslog_include_config_value:obj:1" comment="rsyslog's $IncludeConfig directive value" version="1">
<ind:filepath>/etc/rsyslog.conf</ind:filepath>
<ind:pattern operation="pattern match">^\$IncludeConfig[\s]+([^\s;]+)</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_rfo_log_files_paths:obj:1" comment="All rsyslog configuration files" version="1">
<ind:filepath operation="pattern match" var_ref="oval:ssg-var_rfo_all_log_files_as_collection:var:1" var_check="at least one"/>
<!-- Chunk of text retrieved from rsyslog's configuration file is considered
to constitute a log file path if all of the following conditions are met:
* the string represents a regular file on particular file system
(verified via corresponding file_state below),
* the chunk of text is in the last column in the row,
(possibly suffixed by ';' character and rsyslog Template name),
* contains at least one slash '/' character, and simultaneously
doesn't contain any of ';', ':' and space characters,
* the chunk was retrieved from a row not starting with space, '#',
or '$' characters
-->
<ind:pattern operation="pattern match">^[^(\s|#|\$)]+[\s]+.*[\s]+-?(/+[^:;\s]+);*.*$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<unix:file_object id="oval:ssg-object_rsyslog_files_ownership:obj:1" comment="Various system log files" version="1">
<unix:filepath datatype="string" var_ref="oval:ssg-var_rfo_log_files_paths:var:1" var_check="at least one"/>
</unix:file_object>
<unix:file_object comment="system.mapfiles" id="oval:ssg-object_file_permissions_systemmap_files:obj:1" version="1">
<!-- Check that /boot/System.map-* files is readable only by root -->
<unix:path>/boot</unix:path>
<unix:filename operation="pattern match">^System\.map.*$</unix:filename>
</unix:file_object>
<unix:file_object comment="check /etc/debian_version file" id="oval:ssg-obj_debian:obj:1" version="1">
<unix:filepath>/etc/debian_version</unix:filepath>
</unix:file_object>
<ind:textfilecontent54_object id="oval:ssg-obj_debian_8:obj:1" version="1" comment="Check Debian version">
<ind:filepath>/etc/debian_version</ind:filepath>
<ind:pattern operation="pattern match">^8.[0-9]+$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<linux:partition_object id="oval:ssg-object_mount_home_own_partition:obj:1" version="1">
<linux:mount_point>/home</linux:mount_point>
</linux:partition_object>
<linux:partition_object id="oval:ssg-object_mount_srv_own_partition:obj:1" version="1">
<linux:mount_point>/srv</linux:mount_point>
</linux:partition_object>
<linux:partition_object id="oval:ssg-object_own_tmp_partition:obj:1" version="1">
<linux:mount_point>/tmp</linux:mount_point>
</linux:partition_object>
<linux:partition_object id="oval:ssg-object_mount_var_own_partition:obj:1" version="1">
<linux:mount_point>/var</linux:mount_point>
</linux:partition_object>
<linux:partition_object id="oval:ssg-object_mount_var_log_own_partition:obj:1" version="1">
<linux:mount_point>/var/log</linux:mount_point>
</linux:partition_object>
<linux:partition_object id="oval:ssg-object_mount_var_log_audit_own_partition:obj:1" version="1">
<linux:mount_point>/var/log/audit</linux:mount_point>
</linux:partition_object>
<ind:textfilecontent54_object id="oval:ssg-object_etc_passwd_content:obj:1" version="1">
<ind:filepath>/etc/passwd</ind:filepath>
<!-- User names from /etc/passwd (1-th column) captured as subexpression of this object -->
<ind:pattern operation="pattern match">^([^:]+):.*$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:variable_object id="oval:ssg-object_count_of_all_usernames_from_etc_passwd:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_count_of_all_usernames_from_etc_passwd:var:1</ind:var_ref>
</ind:variable_object>
<ind:textfilecontent54_object id="oval:ssg-object_last_pass_max_days_from_etc_login_defs:obj:1" version="1">
<!-- Read whole /etc/login.defs as single line so we can retrieve last PASS_MAX_DAYS directive occurrence -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/login.defs</ind:filepath>
<!-- Retrieve last (uncommented) occurrence of PASS_MAX_DAYS directive -->
<ind:pattern operation="pattern match">.*\n[^#]*(PASS_MAX_DAYS\s+\d+)\s*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:variable_object id="oval:ssg-object_last_pass_max_days_instance_value:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_last_pass_max_days_instance_value:var:1</ind:var_ref>
</ind:variable_object>
<ind:textfilecontent54_object id="oval:ssg-object_last_pass_min_days_from_etc_login_defs:obj:1" version="1">
<!-- Read whole /etc/login.defs as single line so we can retrieve last PASS_MIN_DAYS directive occurrence -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/login.defs</ind:filepath>
<!-- Retrieve last (uncommented) occurrence of PASS_MIN_DAYS directive -->
<ind:pattern operation="pattern match">.*\n[^#]*(PASS_MIN_DAYS\s+\d+)\s*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:variable_object id="oval:ssg-object_last_pass_min_days_instance_value:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_last_pass_min_days_instance_value:var:1</ind:var_ref>
</ind:variable_object>
<ind:textfilecontent54_object id="oval:ssg-object_accounts_no_uid_except_root:obj:1" version="1">
<ind:filepath>/etc/passwd</ind:filepath>
<ind:pattern operation="pattern match">^(?!root:)[^:]*:[^:]*:0</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<unix:password_object id="oval:ssg-object_accounts_password_all_shadowed:obj:1" version="1">
<unix:username operation="pattern match">.*</unix:username>
</unix:password_object>
<ind:textfilecontent54_object id="oval:ssg-object_last_pass_min_len_from_etc_login_defs:obj:1" version="1">
<!-- Read whole /etc/login.defs as single line so we can retrieve last PASS_MIN_LEN directive occurrence -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/login.defs</ind:filepath>
<!-- Retrieve last (uncommented) occurrence of PASS_MIN_LEN directive -->
<ind:pattern operation="pattern match">.*\n[^#]*(PASS_MIN_LEN\s+\d+)\s*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:variable_object id="oval:ssg-object_last_pass_min_len_instance_value:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_last_pass_min_len_instance_value:var:1</ind:var_ref>
</ind:variable_object>
<ind:textfilecontent54_object id="oval:ssg-object_last_pass_warn_age_from_etc_login_defs:obj:1" version="1">
<!-- Read whole /etc/login.defs as single line so we can retrieve last PASS_WARN_AGE directive occurrence -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/login.defs</ind:filepath>
<!-- Retrieve last (uncommented) occurrence of PASS_WARN_AGE directive -->
<ind:pattern operation="pattern match">.*\n[^#]*(PASS_WARN_AGE\s+\d+)\s*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:variable_object id="oval:ssg-object_last_pass_warn_age_instance_value:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_last_pass_warn_age_instance_value:var:1</ind:var_ref>
</ind:variable_object>
<ind:textfilecontent54_object id="oval:ssg-object_accounts_passwords_pam_faillock_preauth_silent_system-auth:obj:1" version="1">
<!-- Read whole /etc/pam.d/system-auth content as single line so we can verify existing order of PAM modules -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/pam.d/system-auth</ind:filepath>
<!-- Since order of PAM modules matters ensure pam_faillock.so preauth silent in auth section is listed before
pam_unix.so module in auth section -->
<ind:pattern operation="pattern match">[\n][\s]*auth[\s]+required[\s]+pam_faillock\.so[\s]+preauth[\s]+silent[\s]+[^\n]*deny=([0-9]+)[\s]*(?s).*[\n][\s]*auth[\s]+(?:(?:sufficient)|(?:\[.*default=die.*\]))[\s]+pam_unix\.so[^\n]*[\n]</ind:pattern>
<!-- Check only the first instance -->
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_accounts_passwords_pam_faillock_authfail_deny_system-auth:obj:1" version="1">
<!-- Read whole /etc/pam.d/system-auth content as single line so we can verify existing order of PAM modules -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/pam.d/system-auth</ind:filepath>
<!-- Since order of PAM modules matters ensure pam_faillock.so in auth section is listed right after pam_unix.so auth row -->
<ind:pattern operation="pattern match">[\n][\s]*auth[\s]+(?:(?:sufficient)|(?:\[.*default=die.*\]))[\s]+pam_unix\.so[^\n]+(?s).*[\n][\s]*auth[\s]+\[default=die\][\s]+pam_faillock\.so[\s]+authfail[\s]+[^\n]*deny=([0-9]+)[^\n]*[\n]</ind:pattern>
<!-- Check only the first instance -->
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_accounts_passwords_pam_faillock_account_phase_system-auth:obj:1" version="1">
<!-- Read whole /etc/pam.d/system-auth content as single line so we can verify existing order of PAM modules -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/pam.d/system-auth</ind:filepath>
<!-- Since order of PAM modules matters ensure pam_faillock.so in account section is listed right before pam_unix.so account row -->
<ind:pattern operation="pattern match">[\n][\s]*account[\s]+required[\s]+pam_faillock\.so[^\n]*[\n][\s]*account[\s]+required[\s]+pam_unix\.so[^\n]*[\n]</ind:pattern>
<!-- Check only the first instance -->
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_accounts_passwords_pam_faillock_preauth_silent_password-auth:obj:1" version="1">
<!-- Read whole /etc/pam.d/password-auth content as single line so we can verify existing order of PAM modules -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/pam.d/password-auth</ind:filepath>
<!-- Since order of PAM modules matters ensure pam_faillock.so preauth silent in auth section is listed before
pam_unix.so module in auth section -->
<ind:pattern operation="pattern match">[\n][\s]*auth[\s]+required[\s]+pam_faillock\.so[\s]+preauth[\s]+silent[\s]+[^\n]*deny=([0-9]+)[\s]*(?s).*[\n][\s]*auth[\s]+(?:(?:sufficient)|(?:\[.*default=die.*\]))[\s]+pam_unix\.so[^\n]*[\n]</ind:pattern>
<!-- Check only the first instance -->
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_accounts_passwords_pam_faillock_authfail_deny_password-auth:obj:1" version="1">
<!-- Read whole /etc/pam.d/system-auth content as single line so we can verify existing order of PAM modules -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/pam.d/password-auth</ind:filepath>
<!-- Since order of PAM modules matters ensure pam_faillock.so in auth section is listed right after pam_unix.so auth row -->
<ind:pattern operation="pattern match">[\n][\s]*auth[\s]+(?:(?:sufficient)|(?:\[.*default=die.*\]))[\s]+pam_unix\.so[^\n]+(?s).*[\n][\s]*auth[\s]+\[default=die\][\s]+pam_faillock\.so[\s]+authfail[\s]+[^\n]*deny=([0-9]+)[^\n]*[\n]</ind:pattern>
<!-- Check only the first instance -->
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_accounts_passwords_pam_faillock_account_phase_password-auth:obj:1" version="1">
<!-- Read whole /etc/pam.d/system-auth content as single line so we can verify existing order of PAM modules -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/pam.d/password-auth</ind:filepath>
<!-- Since order of PAM modules matters ensure pam_faillock.so in account section is listed right before pam_unix.so account row -->
<ind:pattern operation="pattern match">[\n][\s]*account[\s]+required[\s]+pam_faillock\.so[^\n]*[\n][\s]*account[\s]+required[\s]+pam_unix\.so[^\n]*[\n]</ind:pattern>
<!-- Check only the first instance -->
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:environmentvariable58_object id="oval:ssg-object_accounts_root_path_dirs_no_write_pathenv:obj:1" version="1">
<ind:pid xsi:nil="true" datatype="int"/>
<ind:name>PATH</ind:name>
</ind:environmentvariable58_object>
<unix:file_object comment="root's path directories with wrong group / other write permissions" id="oval:ssg-object_accounts_root_path_dirs_no_group_other_write:obj:1" version="1">
<unix:path var_ref="oval:ssg-var_accounts_root_path_dirs_no_write:var:1" var_check="at least one"/>
<unix:filename xsi:nil="true"/>
<filter action="include">oval:ssg-state_accounts_root_path_dirs_wrong_perms:ste:1</filter>
<filter action="exclude">oval:ssg-state_accounts_root_path_dirs_symlink:ste:1</filter>
</unix:file_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_audispd_syslog_plugin_activated:obj:1" version="1">
<ind:filepath>/etc/audisp/plugins.d/syslog.conf</ind:filepath>
<!-- Allow only space (exactly) as delimiter: https://fedorahosted.org/audit/browser/trunk/src/auditd-config.c#L426 -->
<!-- Require at least one space before and after the equal sign -->
<ind:pattern operation="pattern match">^[ ]*active[ ]+=[ ]+yes[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_conf_log_group_root:obj:1" comment="log_group = root" version="1">
<ind:filepath operation="equals">/etc/audit/auditd.conf</ind:filepath>
<ind:pattern operation="pattern match">^[ ]*log_group[ ]+=[ ]+root[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_data_retention_action_mail_acct:obj:1" version="2">
<ind:filepath>/etc/audit/auditd.conf</ind:filepath>
<!-- Allow only space (exactly) as delimiter: https://fedorahosted.org/audit/browser/trunk/src/auditd-config.c#L426 -->
<!-- Require at least one space before and after the equal sign -->
<ind:pattern operation="pattern match">^[ ]*action_mail_acct[ ]+=[ ]+(\S+)[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_data_retention_admin_space_left_action:obj:1" version="2">
<ind:filepath>/etc/audit/auditd.conf</ind:filepath>
<!-- Allow only space (exactly) as delimiter: https://fedorahosted.org/audit/browser/trunk/src/auditd-config.c#L426 -->
<!-- Require at least one space before and after the equal sign -->
<ind:pattern operation="pattern match">^[ ]*admin_space_left_action[ ]+=[ ]+(\S+)[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_data_retention_max_log_file:obj:1" version="2">
<ind:filepath>/etc/audit/auditd.conf</ind:filepath>
<!-- Allow only space (exactly) as delimiter: https://fedorahosted.org/audit/browser/trunk/src/auditd-config.c#L426 -->
<!-- Require at least one space before and after the equal sign -->
<ind:pattern operation="pattern match">^[ ]*max_log_file[ ]+=[ ]+(\d+)[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_data_retention_max_log_file_action:obj:1" version="2">
<ind:filepath>/etc/audit/auditd.conf</ind:filepath>
<!-- Allow only space (exactly) as delimiter: https://fedorahosted.org/audit/browser/trunk/src/auditd-config.c#L426 -->
<!-- Require at least one space before and after the equal sign -->
<ind:pattern operation="pattern match">^[ ]*max_log_file_action[ ]+=[ ]+(\S+)[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_data_retention_num_logs:obj:1" version="2">
<ind:filepath>/etc/audit/auditd.conf</ind:filepath>
<!-- Allow only space (exactly) as delimiter: https://fedorahosted.org/audit/browser/trunk/src/auditd-config.c#L426 -->
<!-- Require at least one space before and after the equal sign -->
<ind:pattern operation="pattern match">^[ ]*num_logs[ ]+=[ ]+(\d+)[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_auditd_data_retention_space_left_action:obj:1" version="2">
<ind:filepath>/etc/audit/auditd.conf</ind:filepath>
<!-- Allow only space (exactly) as delimiter: https://fedorahosted.org/audit/browser/trunk/src/auditd-config.c#L426 -->
<!-- Require at least one space before and after the equal sign -->
<ind:pattern operation="pattern match">^[ ]*space_left_action[ ]+=[ ]+(\S+)[ ]*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_yum_ensure_gpgcheck_globally_activated:obj:1" comment="gpgcheck set in /etc/yum.conf" version="1">
<ind:filepath>/etc/yum.conf</ind:filepath>
<ind:pattern operation="pattern match">^\s*gpgcheck\s*=\s*1\s*$</ind:pattern>
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_dnf_ensure_gpgcheck_globally_activated:obj:1" comment="gpgcheck set in /etc/dnf/dnf.conf" version="1">
<ind:filepath>/etc/dnf/dnf.conf</ind:filepath>
<ind:pattern operation="pattern match">^\s*gpgcheck\s*=\s*1\s*$</ind:pattern>
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_logrotate_conf_daily_setting:obj:1" version="2">
<!-- Read whole /etc/logrotate.conf at once (as single line) -->
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/logrotate.conf</ind:filepath>
<!-- From the content extract the text chunk after the last (uncommented)
occurrence of 'daily' keyword till the EOF (including the 'daily'
string itself) -->
<ind:pattern operation="pattern match">(?:daily)*.*(?=[\n][\s]*daily)(.*)$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
<!-- From the found object exclude that one containing some (uncommented)
occurrence of (weekly / monthly / yearly) outside the {} block section
of /etc/logrotate.conf -->
<filter action="exclude">oval:ssg-state_another_rotate_interval_after_daily:ste:1</filter>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_cron_daily_logrotate_existence:obj:1" version="1">
<ind:filepath>/etc/cron.daily/logrotate</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*/usr/sbin/logrotate[\s]*/etc/logrotate.conf(?:.*)$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<unix:file_object comment="/var/log/audit directories" id="oval:ssg-object_ownership_var_log_audit_directories:obj:1" version="1">
<unix:behaviors recurse="directories" recurse_direction="down" max_depth="-1" recurse_file_system="all"/>
<unix:path operation="equals">/var/log/audit</unix:path>
<unix:filename xsi:nil="true"/>
<filter action="include">oval:ssg-state_owner_not_root_root_var_log_audit:ste:1</filter>
</unix:file_object>
<unix:file_object comment="/var/log/audit files" id="oval:ssg-object_ownership_var_log_audit_files:obj:1" version="1">
<unix:behaviors recurse="directories" recurse_direction="down" max_depth="-1" recurse_file_system="all"/>
<unix:path operation="equals">/var/log/audit</unix:path>
<unix:filename operation="pattern match">^.*$</unix:filename>
<filter action="include">oval:ssg-state_owner_not_root_root_var_log_audit:ste:1</filter>
</unix:file_object>
<unix:file_object comment="/var/log/audit directories" id="oval:ssg-object_ownership_var_log_audit_directories-non_root:obj:1" version="1">
<unix:behaviors recurse="directories" recurse_direction="down" max_depth="-1" recurse_file_system="all"/>
<unix:path operation="equals">/var/log/audit</unix:path>
<unix:filename xsi:nil="true"/>
<filter action="include">oval:ssg-state_owner_not_root_var_log_audit-non_root:ste:1</filter>
</unix:file_object>
<unix:file_object comment="/var/log/audit files" id="oval:ssg-object_ownership_var_log_audit_files-non_root:obj:1" version="1">
<unix:behaviors recurse="directories" recurse_direction="down" max_depth="-1" recurse_file_system="all"/>
<unix:path operation="equals">/var/log/audit</unix:path>
<unix:filename operation="pattern match">^.*$</unix:filename>
<filter action="include">oval:ssg-state_owner_not_root_var_log_audit-non_root:ste:1</filter>
</unix:file_object>
<unix:file_object comment="home directories" id="oval:ssg-object_file_permissions_home_dirs:obj:1" version="2">
<unix:behaviors recurse="directories" recurse_direction="down" max_depth="1" recurse_file_system="all"/>
<unix:path operation="equals">/home</unix:path>
<unix:filename xsi:nil="true"/>
<filter action="exclude">oval:ssg-state_home_dirs_home_itself:ste:1</filter>
<filter action="include">oval:ssg-state_home_dirs_wrong_perm:ste:1</filter>
</unix:file_object>
<linux:rpminfo_object id="oval:ssg-obj_linuxshield_install_antivirus:obj:1" version="1">
<linux:name>McAfeeVSEForLinux</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_mcafee_runtime_installed:obj:1" version="1">
<linux:name>MFErt</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_mcafee_management_agent:obj:1" version="1">
<linux:name>MFEcma</linux:name>
</linux:rpminfo_object>
<unix:file_object id="oval:ssg-object_mcafee_accm_exists:obj:1" version="1">
<unix:path>/opt/McAfee/accm/bin</unix:path>
<unix:filename>accm</unix:filename>
</unix:file_object>
<linux:rpminfo_object id="oval:ssg-obj_mcafee_hbss_hips_installed:obj:1" version="1">
<linux:name>MFEhiplsm</linux:name>
</linux:rpminfo_object>
<unix:file_object id="oval:ssg-object_mcafee_auditengine_exists:obj:1" version="1">
<unix:path>/opt/McAfee/auditengine/bin</unix:path>
<unix:filename>auditmanager</unix:filename>
</unix:file_object>
<linux:rpminfo_object id="oval:ssg-obj_centos6:obj:1" version="1">
<linux:name>centos-release</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_centos7:obj:1" version="1">
<linux:name>centos-release</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-object_fedora_release_rpm:obj:1" version="1">
<linux:name>fedora-release</linux:name>
</linux:rpminfo_object>
<ind:textfilecontent54_object id="oval:ssg-object_fedora_vendor_product:obj:1" version="1">
<ind:filepath>/etc/system-release-cpe</ind:filepath>
<ind:pattern operation="pattern match">^cpe:\/o:fedoraproject:fedora:[\d]+$</ind:pattern>
<ind:instance datatype="int" operation="equals">1</ind:instance>
</ind:textfilecontent54_object>
<ind:family_object id="oval:ssg-object_unix_family:obj:1" version="1"/>
<linux:rpminfo_object id="oval:ssg-obj_rhel_workstation:obj:1" version="1">
<linux:name>redhat-release-workstation</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_rhel_server:obj:1" version="1">
<linux:name>redhat-release-server</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_rhel_computenode:obj:1" version="1">
<linux:name>redhat-release-computenode</linux:name>
</linux:rpminfo_object>
<ind:family_object id="oval:ssg-obj_rhel7_unix_family:obj:1" version="1"/>
<linux:rpminfo_object id="oval:ssg-obj_rhel7_workstation:obj:1" version="1">
<linux:name>redhat-release-workstation</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_rhel7_server:obj:1" version="1">
<linux:name>redhat-release-server</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_rhel7_computenode:obj:1" version="1">
<linux:name>redhat-release-computenode</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_sl6:obj:1" version="1">
<linux:name>sl-release</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_sl7:obj:1" version="1">
<linux:name>sl-release</linux:name>
</linux:rpminfo_object>
<ind:family_object id="oval:ssg-obj_unix_wrlinux:obj:1" version="1"/>
<unix:file_object version="1" id="oval:ssg-obj_test_wrlinux:obj:1">
<unix:filepath>/etc/wrlinux-release</unix:filepath>
</unix:file_object>
<ind:textfilecontent54_object comment="/etc/securetty file exists" id="oval:ssg-object_etc_securetty_exists:obj:1" version="1">
<ind:filepath>/etc/securetty</ind:filepath>
<ind:pattern operation="pattern match">^.*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object comment="no entries /etc/securetty" id="oval:ssg-object_no_direct_root_logins:obj:1" version="1">
<ind:filepath>/etc/securetty</ind:filepath>
<ind:pattern operation="pattern match">^$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_no_empty_passwords:obj:1" version="1">
<ind:filepath>/etc/pam.d/system-auth</ind:filepath>
<ind:pattern operation="pattern match">\s*nullok\s*</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-obj_no_insecure_locks_exports:obj:1" version="2">
<ind:filepath>/etc/exports</ind:filepath>
<ind:pattern operation="pattern match">^(.*?(\binsecure_locks\b)[^$]*)$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<unix:file_object comment="look for .netrc in /home" id="oval:ssg-object_no_netrc_files_home:obj:1" version="1">
<unix:behaviors recurse="directories" recurse_direction="down" max_depth="1" recurse_file_system="all"/>
<unix:path operation="equals">/home</unix:path>
<unix:filename operation="pattern match">^\.netrc$</unix:filename>
</unix:file_object>
<ind:textfilecontent54_object id="oval:ssg-object_last_uid_min_from_etc_login_defs:obj:1" version="1">
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/login.defs</ind:filepath>
<!-- Last (uncommented) instance od UID_MIN directive -->
<ind:pattern operation="pattern match">.*\n(?!#|SYS_)(UID_MIN[\s]+[\d]+)\s*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_last_sys_uid_min_from_etc_login_defs:obj:1" version="1">
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/login.defs</ind:filepath>
<!-- Last (uncommented) instance of SYS_UID_MIN directive -->
<ind:pattern operation="pattern match">.*\n[^#]*(SYS_UID_MIN[\s]+[\d]+)\s*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_last_sys_uid_max_from_etc_login_defs:obj:1" version="1">
<ind:behaviors singleline="true"/>
<ind:filepath>/etc/login.defs</ind:filepath>
<!-- Last (uncommented) instance of SYS_UID_MAX directive -->
<ind:pattern operation="pattern match">.*\n[^#]*(SYS_UID_MAX[\s]+[\d]+)\s*\n</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_etc_passwd_entries:obj:1" version="1">
<ind:filepath>/etc/passwd</ind:filepath>
<ind:pattern operation="pattern match">^(?!root).*:x:([\d]+):[\d]+:[^:]*:[^:]*:(?!\/sbin\/nologin|\/bin\/sync|\/sbin\/shutdown|\/sbin\/halt).*$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:variable_object id="oval:ssg-object_shell_defined_default_uid_range:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_default_range_quad_expr:var:1</ind:var_ref>
</ind:variable_object>
<ind:variable_object id="oval:ssg-object_shell_defined_reserved_uid_range:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_reserved_range_quad_expr:var:1</ind:var_ref>
</ind:variable_object>
<ind:variable_object id="oval:ssg-object_shell_defined_dynalloc_uid_range:obj:1" version="1">
<ind:var_ref>oval:ssg-variable_dynalloc_range_quad_expr:var:1</ind:var_ref>
</ind:variable_object>
<linux:rpminfo_object id="oval:ssg-obj_package_net-snmp_removed:obj:1" version="1">
<linux:name>net-snmp</linux:name>
</linux:rpminfo_object>
<linux:rpminfo_object id="oval:ssg-obj_package_prelink_removed:obj:1" version="1">
<linux:name>prelink</linux:name>
</linux:rpminfo_object>
<ind:textfilecontent54_object comment="serial ports /etc/securetty" id="oval:ssg-object_serial_ports_etc_securetty:obj:1" version="1">
<ind:filepath>/etc/securetty</ind:filepath>
<ind:pattern operation="pattern match">^ttyS[0-9]+$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_remote_loghost_rsyslog_conf:obj:1" version="1">
<ind:filepath>/etc/rsyslog.conf</ind:filepath>
<ind:pattern operation="pattern match">^\*\.\*[\s]+(?:@|\:omrelp\:)</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_remote_loghost_rsyslog_d:obj:1" version="1">
<ind:path>/etc/rsyslog.d</ind:path>
<ind:filename operation="pattern match">.*</ind:filename>
<ind:pattern operation="pattern match">^\*\.\*[\s]+(?:@|\:omrelp\:)</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object comment="virtual consoles /etc/securetty" id="oval:ssg-object_virtual_consoles_etc_securetty:obj:1" version="1">
<ind:filepath>/etc/securetty</ind:filepath>
<ind:pattern operation="pattern match">^vc/[0-9]+$</ind:pattern>
<ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_snmp_default_communities:obj:1" version="1">
<ind:filepath>/etc/snmp/snmpd.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(com2se|rocommunity|rwcommunity|createUser).*(public|private)</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_snmp_versions:obj:1" version="1">
<ind:filepath>/etc/snmp/snmpd.conf</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(com2se|rocommunity|rwcommunity)</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_sshd_allow_only_protocol2:obj:1" version="3">
<ind:filepath>/etc/ssh/sshd_config</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?i)Protocol[\s]+2[\s]*(?:|(?:#.*))?$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-obj_sshd_permitemptypasswords_no:obj:1" version="2">
<ind:filepath>/etc/ssh/sshd_config</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?i)PermitEmptyPasswords(?-i)[\s]+no[\s]*(?:|(?:#.*))?$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-obj_sshd_disable_rhosts_rsa:obj:1" version="2">
<ind:filepath>/etc/ssh/sshd_config</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?i)RhostsRSAAuthentication(?-i)[\s]+no[\s]*(?:|(?:#.*))?$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-obj_sshd_permitrootlogin_no:obj:1" version="2">
<ind:filepath>/etc/ssh/sshd_config</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?i)PermitRootLogin(?-i)[\s]+no[\s]*(?:|(?:#.*))?$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-obj_sshd_disable_user_known_hosts:obj:1" version="2">
<ind:filepath>/etc/ssh/sshd_config</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?i)IgnoreUserKnownHosts(?-i)[\s]+yes[\s]*(?:|(?:#.*))?$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-object_sshd_idle_timeout:obj:1" version="2">
<ind:filepath>/etc/ssh/sshd_config</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?i)ClientAliveInterval[\s]+(\d+)[\s]*(?:|(?:#.*))?$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<ind:textfilecontent54_object id="oval:ssg-obj_sshd_clientalivecountmax:obj:1" version="2">
<ind:filepath>/etc/ssh/sshd_config</ind:filepath>
<ind:pattern operation="pattern match">^[\s]*(?i)ClientAliveCountMax[\s]+([\d]+)[\s]*(?:|(?:#.*))?$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
<unix:uname_object comment="64 bit architecture" id="oval:ssg-object_system_info_architecture_ppc_64:obj:1" version="1"/>
<unix:uname_object comment="64 bit architecture" id="oval:ssg-object_system_info_architecture_ppcle_64:obj:1" version="1"/>
<unix:uname_object comment="32 bit architecture" id="oval:ssg-object_system_info_architecture_x86:obj:1" version="1"/>
<unix:uname_object comment="64 bit architecture" id="oval:ssg-object_system_info_architecture_x86_64:obj:1" version="1"/>
</objects>
<states>
<unix:file_state id="oval:ssg-state_rsyslog_files_groupownership:ste:1" version="1">
<unix:type operation="equals">regular</unix:type>
<unix:group_id datatype="int">4</unix:group_id>
</unix:file_state>
<unix:file_state id="oval:ssg-state_rsyslog_files_permissions:ste:1" version="1">
<unix:type operation="equals">regular</unix:type>
<unix:uexec datatype="boolean">false</unix:uexec>
<unix:gread datatype="boolean">true</unix:gread>
<unix:gwrite datatype="boolean">false</unix:gwrite>
<unix:gexec datatype="boolean">false</unix:gexec>
<unix:oread datatype="boolean">false</unix:oread>
<unix:owrite datatype="boolean">false</unix:owrite>
<unix:oexec datatype="boolean">false</unix:oexec>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_group_state_uid_0:ste:1" version="1">
<unix:user_id datatype="int" operation="equals">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_group_state_gid_0:ste:1" version="1">
<unix:group_id datatype="int" operation="equals">0</unix:group_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_group_state_mode_0644:ste:1" version="1">
<unix:suid datatype="boolean">false</unix:suid>
<unix:sgid datatype="boolean">false</unix:sgid>
<unix:sticky datatype="boolean">false</unix:sticky>
<unix:uread datatype="boolean">true</unix:uread>
<unix:uwrite datatype="boolean">true</unix:uwrite>
<unix:uexec datatype="boolean">false</unix:uexec>
<unix:gread datatype="boolean">true</unix:gread>
<unix:gwrite datatype="boolean">false</unix:gwrite>
<unix:gexec datatype="boolean">false</unix:gexec>
<unix:oread datatype="boolean">true</unix:oread>
<unix:owrite datatype="boolean">false</unix:owrite>
<unix:oexec datatype="boolean">false</unix:oexec>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_gshadow_state_uid_0:ste:1" version="1">
<unix:user_id datatype="int" operation="equals">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_gshadow_state_gid_42:ste:1" version="1">
<unix:group_id datatype="int" operation="equals">42</unix:group_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_gshadow_state_mode_0640:ste:1" version="1">
<unix:suid datatype="boolean">false</unix:suid>
<unix:sgid datatype="boolean">false</unix:sgid>
<unix:sticky datatype="boolean">false</unix:sticky>
<unix:uread datatype="boolean">true</unix:uread>
<unix:uwrite datatype="boolean">true</unix:uwrite>
<unix:uexec datatype="boolean">false</unix:uexec>
<unix:gread datatype="boolean">true</unix:gread>
<unix:gwrite datatype="boolean">false</unix:gwrite>
<unix:gexec datatype="boolean">false</unix:gexec>
<unix:oread datatype="boolean">false</unix:oread>
<unix:owrite datatype="boolean">false</unix:owrite>
<unix:oexec datatype="boolean">false</unix:oexec>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_passwd_state_uid_0:ste:1" version="1">
<unix:user_id datatype="int" operation="equals">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_passwd_state_gid_0:ste:1" version="1">
<unix:group_id datatype="int" operation="equals">0</unix:group_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_passwd_state_mode_0644:ste:1" version="1">
<unix:suid datatype="boolean">false</unix:suid>
<unix:sgid datatype="boolean">false</unix:sgid>
<unix:sticky datatype="boolean">false</unix:sticky>
<unix:uread datatype="boolean">true</unix:uread>
<unix:uwrite datatype="boolean">true</unix:uwrite>
<unix:uexec datatype="boolean">false</unix:uexec>
<unix:gread datatype="boolean">true</unix:gread>
<unix:gwrite datatype="boolean">false</unix:gwrite>
<unix:gexec datatype="boolean">false</unix:gexec>
<unix:oread datatype="boolean">true</unix:oread>
<unix:owrite datatype="boolean">false</unix:owrite>
<unix:oexec datatype="boolean">false</unix:oexec>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_shadow_state_uid_0:ste:1" version="1">
<unix:user_id datatype="int" operation="equals">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_shadow_state_gid_42:ste:1" version="1">
<unix:group_id datatype="int" operation="equals">42</unix:group_id>
</unix:file_state>
<unix:file_state id="oval:ssg-_etc_shadow_state_mode_0640:ste:1" version="1">
<unix:suid datatype="boolean">false</unix:suid>
<unix:sgid datatype="boolean">false</unix:sgid>
<unix:sticky datatype="boolean">false</unix:sticky>
<unix:uread datatype="boolean">true</unix:uread>
<unix:uwrite datatype="boolean">true</unix:uwrite>
<unix:uexec datatype="boolean">false</unix:uexec>
<unix:gread datatype="boolean">true</unix:gread>
<unix:gwrite datatype="boolean">false</unix:gwrite>
<unix:gexec datatype="boolean">false</unix:gexec>
<unix:oread datatype="boolean">false</unix:oread>
<unix:owrite datatype="boolean">false</unix:owrite>
<unix:oexec datatype="boolean">false</unix:oexec>
</unix:file_state>
<linux:systemdunitdependency_state id="oval:ssg-state_systemd_auditd_on:ste:1" comment="auditd listed at least once in the dependencies" version="1">
<linux:dependency entity_check="at least one">auditd.service</linux:dependency>
</linux:systemdunitdependency_state>
<linux:systemdunitdependency_state id="oval:ssg-state_systemd_cron_on:ste:1" comment="cron listed at least once in the dependencies" version="1">
<linux:dependency entity_check="at least one">cron.service</linux:dependency>
</linux:systemdunitdependency_state>
<linux:systemdunitdependency_state id="oval:ssg-state_systemd_ntpd_on:ste:1" comment="ntpd listed at least once in the dependencies" version="1">
<linux:dependency entity_check="at least one">ntpd.service</linux:dependency>
</linux:systemdunitdependency_state>
<linux:systemdunitdependency_state id="oval:ssg-state_systemd_rsyslog_on:ste:1" comment="rsyslog listed at least once in the dependencies" version="1">
<linux:dependency entity_check="at least one">rsyslog.service</linux:dependency>
</linux:systemdunitdependency_state>
<linux:systemdunitdependency_state id="oval:ssg-state_systemd_sshd_off:ste:1" comment="sshd is not listed in the dependencies" version="1">
<linux:dependency entity_check="none satisfy">sshd.service</linux:dependency>
</linux:systemdunitdependency_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_fs_protected_hardlinks:ste:1" version="1">
<unix:value datatype="int" operation="equals">1</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_fs_protected_symlinks:ste:1" version="1">
<unix:value datatype="int" operation="equals">1</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_fs_suid_dumpable:ste:1" version="1">
<unix:value datatype="int" operation="equals">0</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_dmesg_restrict:ste:1" version="1">
<unix:value datatype="int" operation="equals">1</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_kptr_restrict:ste:1" version="1">
<unix:value datatype="int" operation="equals">1</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_perf_cpu_time_max_percent:ste:1" version="1">
<unix:value datatype="int" operation="equals">1</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_perf_event_max_sample_rate:ste:1" version="1">
<unix:value datatype="int" operation="equals">1</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_perf_event_paranoid:ste:1" version="1">
<unix:value datatype="int" operation="equals">2</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_pid_max:ste:1" version="1">
<unix:value datatype="int" operation="equals">65536</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_randomize_va_space:ste:1" version="1">
<unix:value datatype="int" operation="equals">2</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_kernel_sysrq:ste:1" version="1">
<unix:value datatype="int" operation="equals">0</unix:value>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_net_ipv4_ip_forward:ste:1" version="1">
<unix:value datatype="int" operation="equals" var_ref="oval:ssg-sysctl_net_ipv4_ip_forward_value:var:1"/>
</unix:sysctl_state>
<unix:sysctl_state id="oval:ssg-state_sysctl_vm_mmap_min_addr:ste:1" version="1">
<unix:value datatype="int" operation="equals">65536</unix:value>
</unix:sysctl_state>
<ind:textfilecontent54_state id="oval:ssg-state_static_sysctld_net_ipv4_ip_forward:ste:1" version="1">
<ind:subexpression operation="equals" var_ref="oval:ssg-sysctl_net_ipv4_ip_forward_value:var:1" datatype="int"/>
</ind:textfilecontent54_state>
<unix:file_state id="oval:ssg-state_rsyslog_files_ownership:ste:1" version="1">
<unix:type operation="equals">regular</unix:type>
<unix:user_id datatype="int">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-state_owner_systemmap:ste:1" version="1">
<unix:user_id datatype="int" operation="equals">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-state_file_permissions_systemmap:ste:1" version="1">
<unix:suid datatype="boolean">false</unix:suid>
<unix:sgid datatype="boolean">false</unix:sgid>
<unix:sticky datatype="boolean">false</unix:sticky>
<unix:uexec datatype="boolean">false</unix:uexec>
<unix:gread datatype="boolean">false</unix:gread>
<unix:gwrite datatype="boolean">false</unix:gwrite>
<unix:gexec datatype="boolean">false</unix:gexec>
<unix:oread datatype="boolean">false</unix:oread>
<unix:owrite datatype="boolean">false</unix:owrite>
<unix:oexec datatype="boolean">false</unix:oexec>
</unix:file_state>
<ind:variable_state id="oval:ssg-state_etc_passwd_no_duplicate_user_names:ste:1" version="1">
<ind:value var_ref="oval:ssg-variable_count_of_unique_usernames_from_etc_passwd:var:1" datatype="int" operation="equals" var_check="at least one"/>
</ind:variable_state>
<ind:variable_state id="oval:ssg-state_last_pass_max_days_instance_value:ste:1" version="1">
<ind:value operation="less than or equal" var_ref="oval:ssg-var_accounts_maximum_age_login_defs:var:1" datatype="int" var_check="at least one"/>
</ind:variable_state>
<ind:variable_state id="oval:ssg-state_last_pass_min_days_instance_value:ste:1" version="1">
<ind:value operation="greater than or equal" var_ref="oval:ssg-var_accounts_minimum_age_login_defs:var:1" datatype="int" var_check="at least one"/>
</ind:variable_state>
<unix:password_state id="oval:ssg-state_accounts_password_all_shadowed:ste:1" version="1">
<unix:password>x</unix:password>
</unix:password_state>
<ind:variable_state id="oval:ssg-state_last_pass_min_len_instance_value:ste:1" version="1">
<ind:value operation="greater than or equal" var_ref="oval:ssg-var_accounts_password_minlen_login_defs:var:1" datatype="int" var_check="at least one"/>
</ind:variable_state>
<ind:variable_state id="oval:ssg-state_last_pass_warn_age_instance_value:ste:1" version="1">
<ind:value operation="greater than or equal" var_ref="oval:ssg-var_accounts_password_warn_age_login_defs:var:1" datatype="int" var_check="at least one"/>
</ind:variable_state>
<ind:textfilecontent54_state id="oval:ssg-state_var_accounts_passwords_pam_faillock_deny_value:ste:1" version="1">
<ind:subexpression datatype="int" operation="less than or equal" var_ref="oval:ssg-var_accounts_passwords_pam_faillock_deny:var:1"/>
</ind:textfilecontent54_state>
<unix:file_state comment="group or other has write privilege" id="oval:ssg-state_accounts_root_path_dirs_wrong_perms:ste:1" version="1" operator="OR">
<unix:gwrite datatype="boolean">true</unix:gwrite>
<unix:owrite datatype="boolean">true</unix:owrite>
</unix:file_state>
<unix:file_state comment="symbolic link" id="oval:ssg-state_accounts_root_path_dirs_symlink:ste:1" version="1">
<unix:type operation="equals">symbolic link</unix:type>
</unix:file_state>
<ind:textfilecontent54_state id="oval:ssg-state_auditd_data_retention_action_mail_acct:ste:1" version="1">
<ind:subexpression operation="equals" var_ref="oval:ssg-var_auditd_action_mail_acct:var:1"/>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state id="oval:ssg-state_auditd_data_retention_admin_space_left_action:ste:1" version="1">
<ind:subexpression operation="case insensitive equals" var_ref="oval:ssg-var_auditd_admin_space_left_action:var:1"/>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state id="oval:ssg-state_auditd_data_retention_max_log_file:ste:1" version="1">
<ind:subexpression operation="greater than or equal" var_ref="oval:ssg-var_auditd_max_log_file:var:1" datatype="int"/>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state id="oval:ssg-state_auditd_data_retention_max_log_file_action:ste:1" version="1">
<ind:subexpression operation="case insensitive equals" var_ref="oval:ssg-var_auditd_max_log_file_action:var:1"/>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state id="oval:ssg-state_auditd_data_retention_num_logs:ste:1" version="1">
<ind:subexpression operation="greater than or equal" var_ref="oval:ssg-var_auditd_num_logs:var:1" datatype="int"/>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state id="oval:ssg-state_auditd_data_retention_space_left_action:ste:1" version="2">
<ind:subexpression operation="case insensitive equals" var_ref="oval:ssg-var_auditd_space_left_action:var:1"/>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state id="oval:ssg-state_another_rotate_interval_after_daily:ste:1" version="1">
<!-- if some of (weekly / monthly / yearly) uncommented setting is found
(in the previously selected chunk of text) in one of the following
parts:
* before the first '{' character,
* somewhere after '}' character and before another '{' character,
* after final '}' character and before end of the chunk
exclude such object from the found ones (since in that case earlier
daily setting would be replaced with the found setting) -->
<ind:subexpression datatype="string" operation="pattern match">}[^{]+[\n][\s]*(weekly|monthly|yearly)|[\n][\s]*(weekly|monthly|yearly)[^}]+{</ind:subexpression>
</ind:textfilecontent54_state>
<unix:file_state id="oval:ssg-state_owner_not_root_root_var_log_audit:ste:1" version="1" operator="OR">
<unix:group_id datatype="int" operation="not equal">0</unix:group_id>
<unix:user_id datatype="int" operation="not equal">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-state_owner_not_root_var_log_audit-non_root:ste:1" version="1" operator="OR">
<unix:group_id datatype="int" operation="not equal">0</unix:group_id>
<unix:user_id datatype="int" operation="equals">0</unix:user_id>
</unix:file_state>
<unix:file_state id="oval:ssg-state_home_dirs_home_itself:ste:1" version="1">
<!-- Exclude /home directory itself from the check. Check /home/* directories only. -->
<unix:path operation="equals">/home</unix:path>
</unix:file_state>
<unix:file_state id="oval:ssg-state_home_dirs_wrong_perm:ste:1" version="1" operator="OR">
<unix:suid datatype="boolean">true</unix:suid>
<unix:sgid datatype="boolean">true</unix:sgid>
<unix:sticky datatype="boolean">true</unix:sticky>
<unix:gwrite datatype="boolean">true</unix:gwrite>
<unix:oread datatype="boolean">true</unix:oread>
<unix:owrite datatype="boolean">true</unix:owrite>
<unix:oexec datatype="boolean">true</unix:oexec>
</unix:file_state>
<linux:rpminfo_state id="oval:ssg-state_centos6:ste:1" version="1">
<linux:version operation="pattern match">^6.*$</linux:version>
</linux:rpminfo_state>
<linux:rpminfo_state id="oval:ssg-state_centos7:ste:1" version="1">
<linux:version operation="pattern match">^7.*$</linux:version>
</linux:rpminfo_state>
<ind:family_state id="oval:ssg-state_unix_family:ste:1" version="1">
<ind:family>unix</ind:family>
</ind:family_state>
<linux:rpminfo_state id="oval:ssg-state_rhel_workstation:ste:1" version="1">
<linux:version operation="pattern match">^6.*$</linux:version>
</linux:rpminfo_state>
<linux:rpminfo_state id="oval:ssg-state_rhel_server:ste:1" version="1">
<linux:version operation="pattern match">^6.*$</linux:version>
</linux:rpminfo_state>
<linux:rpminfo_state id="oval:ssg-state_rhel_computenode:ste:1" version="1">
<linux:version operation="pattern match">^6.*$</linux:version>
</linux:rpminfo_state>
<ind:family_state id="oval:ssg-state_rhel7_unix_family:ste:1" version="1">
<ind:family>unix</ind:family>
</ind:family_state>
<linux:rpminfo_state id="oval:ssg-state_rhel7_workstation:ste:1" version="1">
<linux:version operation="pattern match">^7.*$</linux:version>
</linux:rpminfo_state>
<linux:rpminfo_state id="oval:ssg-state_rhel7_server:ste:1" version="1">
<linux:version operation="pattern match">^7.*$</linux:version>
</linux:rpminfo_state>
<linux:rpminfo_state id="oval:ssg-state_rhel7_computenode:ste:1" version="1">
<linux:version operation="pattern match">^7.*$</linux:version>
</linux:rpminfo_state>
<linux:rpminfo_state id="oval:ssg-state_sl6:ste:1" version="1">
<linux:version operation="pattern match">^6.*$</linux:version>
</linux:rpminfo_state>
<linux:rpminfo_state id="oval:ssg-state_sl7:ste:1" version="1">
<linux:version operation="pattern match">^7.*$</linux:version>
</linux:rpminfo_state>
<ind:family_state id="oval:ssg-state_unix_wrlinux:ste:1" version="1">
<ind:family>unix</ind:family>
</ind:family_state>
<ind:variable_state id="oval:ssg-state_shell_defined_default_uid_range:ste:1" version="1">
<ind:value datatype="int" operation="greater than">0</ind:value>
</ind:variable_state>
<ind:variable_state id="oval:ssg-state_shell_defined_reserved_uid_range:ste:1" version="1">
<ind:value datatype="int" operation="greater than">0</ind:value>
</ind:variable_state>
<ind:variable_state id="oval:ssg-state_shell_defined_dynalloc_uid_range:ste:1" version="1">
<ind:value datatype="int" operation="greater than">0</ind:value>
</ind:variable_state>
<ind:textfilecontent54_state comment="upper bound of ClientAliveInterval in seconds" id="oval:ssg-state_timeout_value_upper_bound:ste:1" version="1">
<ind:subexpression datatype="int" operation="less than or equal" var_check="all" var_ref="oval:ssg-sshd_idle_timeout_value:var:1"/>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state comment="lower bound of ClientAliveInterval in seconds" id="oval:ssg-state_timeout_value_lower_bound:ste:1" version="1">
<ind:subexpression datatype="int" operation="greater than">0</ind:subexpression>
</ind:textfilecontent54_state>
<ind:textfilecontent54_state id="oval:ssg-state_sshd_clientalivecountmax:ste:1" version="1">
<ind:subexpression datatype="int" operation="equals">0</ind:subexpression>
</ind:textfilecontent54_state>
<unix:uname_state comment="64 bit architecture" id="oval:ssg-state_system_info_architecture_ppc_64:ste:1" version="1">
<unix:processor_type operation="equals">ppc64</unix:processor_type>
</unix:uname_state>
<unix:uname_state comment="64 bit architecture" id="oval:ssg-state_system_info_architecture_ppcle_64:ste:1" version="1">
<unix:processor_type operation="equals">ppc64le</unix:processor_type>
</unix:uname_state>
<unix:uname_state comment="32 bit architecture" id="oval:ssg-state_system_info_architecture_x86:ste:1" version="1">
<unix:processor_type operation="equals">i686</unix:processor_type>
</unix:uname_state>
<unix:uname_state comment="64 bit architecture" id="oval:ssg-state_system_info_architecture_x86_64:ste:1" version="1">
<unix:processor_type operation="equals">x86_64</unix:processor_type>
</unix:uname_state>
</states>
<variables>
<local_variable id="oval:ssg-var_rfg_include_config_regex:var:1" datatype="string" version="1" comment="$IncludeConfig value converted to regex">
<glob_to_regex>
<object_component item_field="subexpression" object_ref="oval:ssg-object_rfg_rsyslog_include_config_value:obj:1"/>
</glob_to_regex>
</local_variable>
<local_variable id="oval:ssg-var_rfg_all_log_files_as_string:var:1" datatype="string" version="1" comment="Locations of all rsyslog configuration files concatenated into string">
<concat>
<variable_component var_ref="oval:ssg-var_rfg_include_config_regex:var:1"/>
<literal_component datatype="string">%/etc/rsyslog.conf</literal_component>
</concat>
</local_variable>
<local_variable id="oval:ssg-var_rfg_all_log_files_as_collection:var:1" datatype="string" version="1" comment="Locations of all rsyslog configuration files as collection">
<split delimiter="%">
<variable_component var_ref="oval:ssg-var_rfg_all_log_files_as_string:var:1"/>
</split>
</local_variable>
<local_variable id="oval:ssg-var_rfg_log_files_paths:var:1" datatype="string" version="1" comment="File paths of all rsyslog configuration files">
<object_component item_field="subexpression" object_ref="oval:ssg-object_rfg_log_files_paths:obj:1"/>
</local_variable>
<local_variable id="oval:ssg-var_rfp_include_config_regex:var:1" datatype="string" version="1" comment="$IncludeConfig value converted to regex">
<glob_to_regex>
<object_component item_field="subexpression" object_ref="oval:ssg-object_rfp_rsyslog_include_config_value:obj:1"/>
</glob_to_regex>
</local_variable>
<local_variable id="oval:ssg-var_rfp_all_log_files_as_string:var:1" datatype="string" version="1" comment="Locations of all rsyslog configuration files concatenated into string">
<concat>
<variable_component var_ref="oval:ssg-var_rfp_include_config_regex:var:1"/>
<literal_component datatype="string">%/etc/rsyslog.conf</literal_component>
</concat>
</local_variable>
<local_variable id="oval:ssg-var_rfp_all_log_files_as_collection:var:1" datatype="string" version="1" comment="Locations of all rsyslog configuration files as collection">
<split delimiter="%">
<variable_component var_ref="oval:ssg-var_rfp_all_log_files_as_string:var:1"/>
</split>
</local_variable>
<local_variable id="oval:ssg-var_rfp_log_files_paths:var:1" datatype="string" version="1" comment="File paths of all rsyslog configuration files">
<object_component item_field="subexpression" object_ref="oval:ssg-object_rfp_log_files_paths:obj:1"/>
</local_variable>
<external_variable comment="External variable for net.ipv4.ip_forward" datatype="int" id="oval:ssg-sysctl_net_ipv4_ip_forward_value:var:1" version="1"/>
<local_variable id="oval:ssg-var_rfo_include_config_regex:var:1" datatype="string" version="1" comment="$IncludeConfig value converted to regex">
<glob_to_regex>
<object_component item_field="subexpression" object_ref="oval:ssg-object_rfo_rsyslog_include_config_value:obj:1"/>
</glob_to_regex>
</local_variable>
<local_variable id="oval:ssg-var_rfo_all_log_files_as_string:var:1" datatype="string" version="1" comment="Locations of all rsyslog configuration files concatenated into string">
<concat>
<variable_component var_ref="oval:ssg-var_rfo_include_config_regex:var:1"/>
<literal_component datatype="string">%/etc/rsyslog.conf</literal_component>
</concat>
</local_variable>
<local_variable id="oval:ssg-var_rfo_all_log_files_as_collection:var:1" datatype="string" version="1" comment="Locations of all rsyslog configuration files as collection">
<split delimiter="%">
<variable_component var_ref="oval:ssg-var_rfo_all_log_files_as_string:var:1"/>
</split>
</local_variable>
<local_variable id="oval:ssg-var_rfo_log_files_paths:var:1" datatype="string" version="1" comment="File paths of all rsyslog configuration files">
<object_component item_field="subexpression" object_ref="oval:ssg-object_rfo_log_files_paths:obj:1"/>
</local_variable>
<local_variable id="oval:ssg-variable_count_of_all_usernames_from_etc_passwd:var:1" datatype="int" version="1" comment="Count of all username rows retrieved from /etc/passwd (including duplicates if any)">
<count>
<object_component item_field="subexpression" object_ref="oval:ssg-object_etc_passwd_content:obj:1"/>
</count>
</local_variable>
<local_variable id="oval:ssg-variable_count_of_unique_usernames_from_etc_passwd:var:1" datatype="int" version="1" comment="Count of unique username rows retrieved from /etc/passwd">
<count>
<unique>
<object_component item_field="subexpression" object_ref="oval:ssg-object_etc_passwd_content:obj:1"/>
</unique>
</count>
</local_variable>
<local_variable id="oval:ssg-variable_last_pass_max_days_instance_value:var:1" datatype="int" comment="The value of last PASS_MAX_DAYS directive in /etc/login.defs" version="1">
<regex_capture pattern="PASS_MAX_DAYS\s+(\d+)">
<object_component item_field="subexpression" object_ref="oval:ssg-object_last_pass_max_days_from_etc_login_defs:obj:1"/>
</regex_capture>
</local_variable>
<external_variable comment="Maximum password age" datatype="int" id="oval:ssg-var_accounts_maximum_age_login_defs:var:1" version="1"/>
<local_variable id="oval:ssg-variable_last_pass_min_days_instance_value:var:1" datatype="int" comment="The value of last PASS_MIN_DAYS directive in /etc/login.defs" version="1">
<regex_capture pattern="PASS_MIN_DAYS\s+(\d+)">
<object_component item_field="subexpression" object_ref="oval:ssg-object_last_pass_min_days_from_etc_login_defs:obj:1"/>
</regex_capture>
</local_variable>
<external_variable comment="Minimum password age in days" datatype="int" id="oval:ssg-var_accounts_minimum_age_login_defs:var:1" version="1"/>
<local_variable id="oval:ssg-variable_last_pass_min_len_instance_value:var:1" datatype="int" comment="The value of last PASS_MIN_LEN directive in /etc/login.defs" version="1">
<regex_capture pattern="PASS_MIN_LEN\s+(\d+)">
<object_component item_field="subexpression" object_ref="oval:ssg-object_last_pass_min_len_from_etc_login_defs:obj:1"/>
</regex_capture>
</local_variable>
<external_variable comment="Password minimum length" datatype="int" id="oval:ssg-var_accounts_password_minlen_login_defs:var:1" version="1"/>
<local_variable id="oval:ssg-variable_last_pass_warn_age_instance_value:var:1" datatype="int" comment="The value of last PASS_WARN_AGE directive in /etc/login.defs" version="1">
<regex_capture pattern="PASS_WARN_AGE\s+(\d+)">
<object_component item_field="subexpression" object_ref="oval:ssg-object_last_pass_warn_age_from_etc_login_defs:obj:1"/>
</regex_capture>
</local_variable>
<external_variable comment="password expiration warning age in days" datatype="int" id="oval:ssg-var_accounts_password_warn_age_login_defs:var:1" version="1"/>
<external_variable id="oval:ssg-var_accounts_passwords_pam_faillock_deny:var:1" datatype="int" comment="number of failed login attempts allowed" version="1"/>
<local_variable comment="Split the PATH on the : delimiter" datatype="string" id="oval:ssg-var_accounts_root_path_dirs_no_write:var:1" version="1">
<split delimiter=":">
<object_component item_field="value" object_ref="oval:ssg-object_accounts_root_path_dirs_no_write_pathenv:obj:1"/>
</split>
</local_variable>
<external_variable comment="audit action_mail_acct setting" datatype="string" id="oval:ssg-var_auditd_action_mail_acct:var:1" version="1"/>
<external_variable comment="audit admin_space_left_action setting" datatype="string" id="oval:ssg-var_auditd_admin_space_left_action:var:1" version="1"/>
<external_variable comment="audit max_log_file settting" datatype="int" id="oval:ssg-var_auditd_max_log_file:var:1" version="1"/>
<external_variable comment="audit max_log_file_action setting" datatype="string" id="oval:ssg-var_auditd_max_log_file_action:var:1" version="1"/>
<external_variable comment="audit num_logs settting" datatype="int" id="oval:ssg-var_auditd_num_logs:var:1" version="1"/>
<external_variable comment="audit space_left_action setting" datatype="string" id="oval:ssg-var_auditd_space_left_action:var:1" version="2"/>
<local_variable id="oval:ssg-variable_sys_uids_etc_passwd:var:1" datatype="int" comment="UIDs retrieved from /etc/passwd" version="1">
<object_component item_field="subexpression" object_ref="oval:ssg-object_etc_passwd_entries:obj:1"/>
</local_variable>
<local_variable id="oval:ssg-variable_uid_min_value:var:1" datatype="int" comment="Value of last UID_MIN from /etc/login.defs" version="1">
<regex_capture pattern="UID_MIN[\s]+(\d+)">
<object_component item_field="subexpression" object_ref="oval:ssg-object_last_uid_min_from_etc_login_defs:obj:1"/>
</regex_capture>
</local_variable>
<local_variable id="oval:ssg-variable_default_range_quad_expr:var:1" datatype="int" comment="Construct (x - 0) * (x - (UID_MIN - 1)) expression" version="1">
<!-- Construct the final multiplication -->
<arithmetic arithmetic_operation="multiply">
<!-- Get "x", thus retrieved /etc/passwd UIDs as int -->
<!-- (x - 0) = x => use just "x" value -->
<variable_component var_ref="oval:ssg-variable_sys_uids_etc_passwd:var:1"/>
<!-- Get (x - (UID_MIN -1)) result -->
<arithmetic arithmetic_operation="add">
<variable_component var_ref="oval:ssg-variable_sys_uids_etc_passwd:var:1"/>
<!-- Get -1 * (UID_MIN - 1) result -->
<arithmetic arithmetic_operation="multiply">
<literal_component datatype="int">-1</literal_component>
<!-- Get (UID_MIN -1) result -->
<arithmetic arithmetic_operation="add">
<!-- Get "x", thus retrieved /etc/passwd UIDs as int -->
<variable_component var_ref="oval:ssg-variable_uid_min_value:var:1"/>
<literal_component datatype="int">-1</literal_component>
</arithmetic>
</arithmetic>
</arithmetic>
</arithmetic>
</local_variable>
<local_variable id="oval:ssg-variable_sys_uid_min_value:var:1" datatype="int" comment="Value of last SYS_UID_MIN from /etc/login.defs" version="1">
<regex_capture pattern="SYS_UID_MIN[\s]+(\d+)">
<object_component item_field="subexpression" object_ref="oval:ssg-object_last_sys_uid_min_from_etc_login_defs:obj:1"/>
</regex_capture>
</local_variable>
<local_variable id="oval:ssg-variable_sys_uid_max_value:var:1" datatype="int" comment="Value of last SYS_UID_MAX from /etc/login.defs" version="1">
<regex_capture pattern="SYS_UID_MAX[\s]+(\d+)">
<object_component item_field="subexpression" object_ref="oval:ssg-object_last_sys_uid_max_from_etc_login_defs:obj:1"/>
</regex_capture>
</local_variable>
<local_variable id="oval:ssg-variable_reserved_range_quad_expr:var:1" datatype="int" comment="Construct (x - 0) * (x - SYS_UID_MIN) expression" version="1">
<!-- Construct the final multiplication -->
<arithmetic arithmetic_operation="multiply">
<!-- Get "x", thus retrieved /etc/passwd UIDs as int -->
<!-- (x - 0) = x => use just "x" value -->
<variable_component var_ref="oval:ssg-variable_sys_uids_etc_passwd:var:1"/>
<!-- Construct (x - SYS_UID_MIN) expression -->
<arithmetic arithmetic_operation="add">
<!-- Get "x", thus retrieved /etc/passwd UIDs as int -->
<variable_component var_ref="oval:ssg-variable_sys_uids_etc_passwd:var:1"/>
<!-- Get negative value of SYS_UID_MIN -->
<arithmetic arithmetic_operation="multiply">
<literal_component datatype="int">-1</literal_component>
<variable_component var_ref="oval:ssg-variable_sys_uid_min_value:var:1"/>
</arithmetic>
</arithmetic>
</arithmetic>
</local_variable>
<local_variable id="oval:ssg-variable_dynalloc_range_quad_expr:var:1" datatype="int" comment="Construct (x - SYS_UID_MIN) * (x - SYS_UID_MAX) expression" version="1">
<!-- Construct the final multiplication -->
<arithmetic arithmetic_operation="multiply">
<!-- Construct (x - SYS_UID_MIN) expression -->
<arithmetic arithmetic_operation="add">
<!-- Get "x", thus retrieved /etc/passwd UIDs as int -->
<variable_component var_ref="oval:ssg-variable_sys_uids_etc_passwd:var:1"/>
<!-- Get negative value of SYS_UID_MIN -->
<arithmetic arithmetic_operation="multiply">
<literal_component datatype="int">-1</literal_component>
<variable_component var_ref="oval:ssg-variable_sys_uid_min_value:var:1"/>
</arithmetic>
</arithmetic>
<!-- Construct (x - SYS_UID_MAX) expression -->
<arithmetic arithmetic_operation="add">
<!-- Get "x", thus retrieved /etc/passwd UIDs as int -->
<variable_component var_ref="oval:ssg-variable_sys_uids_etc_passwd:var:1"/>
<!-- Get negative value of SYS_UID_MAX -->
<arithmetic arithmetic_operation="multiply">
<literal_component datatype="int">-1</literal_component>
<variable_component var_ref="oval:ssg-variable_sys_uid_max_value:var:1"/>
</arithmetic>
</arithmetic>
</arithmetic>
</local_variable>
<external_variable comment="timeout value" datatype="int" id="oval:ssg-sshd_idle_timeout_value:var:1" version="1"/>
</variables>
</oval_definitions>
|