<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1189369553;
mso-list-type:hybrid;
mso-list-template-ids:51525228 -100487778 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Folks –<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to remediate a RHEL7 VM guest and have it down to a couple findings that I’d like to ask about:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1. Rule ID: xccdf_org.ssgproject.content_rule_accounts_authorized_local_users<o:p></o:p></p>
<p class="MsoNormal"> I've surfed the web, RedHat and OpenScap; read through the OpenScap docs. I have not
<o:p></o:p></p>
<p class="MsoNormal"> found how to apply a remediation to this one. The server has one (1) user that<o:p></o:p></p>
<p class="MsoNormal"> is not part of the OS installation set - an admin acct.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> How do I tell oscap that this account (and perhaps others later) is an authorized account?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2. Rule ID: Ensure Software Patches Installed<o:p></o:p></p>
<p class="MsoNormal"> The system was fully patched with "yum update" before I ran oscap. There are currently<o:p></o:p></p>
<p class="MsoNormal"> seventeen (17) findings which specify running "yum update". I enabled all repos<o:p></o:p></p>
<p class="MsoNormal"> in /etc/yum.repos.d/redhat.repo and ran check-update repeatedly to find those that were not<o:p></o:p></p>
<p class="MsoNormal"> accessible, and disabled them. That left 896 potential yum repos being used.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Then, I patched again and "yum update" shows NO patches outstanding. Yet the STIG still says<o:p></o:p></p>
<p class="MsoNormal"> I have seventeen (17) failures, with no indication of what has failed and the remediation<o:p></o:p></p>
<p class="MsoNormal"> advice given is "yum update".<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there a way to see EXACTLY what it is failing at, aka the raw output data, where I can review output like: “This specific package is not updated, therefore mark a FAIL” ? In case I am doing the scan wrong, these are the commands I
am using to execute the oscap run:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">DateR=`date '+%m%d%y_%H%M%S'`<o:p></o:p></p>
<p class="MsoNormal">UNAMEN=`/bin/uname -n`<o:p></o:p></p>
<p class="MsoNormal">oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_stig \<o:p></o:p></p>
<p class="MsoNormal"> --report report_${UNAMEN}_${DateR}.html \<o:p></o:p></p>
<p class="MsoNormal"> --fetch-remote-resources /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The latest scan this morning, following the latest patch and reboot is 93.63% clean. There are just five (5) areas still reporting a fail and the two referenced above are the only ones I am unable to resolve readily. I would appreciate
any assistance you can provide.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:14.0pt;font-family:"Trebuchet MS",sans-serif">Kenneth Hatten</span></b><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif">Senior Consultant</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zigabyte.com%2F&data=05%7C01%7Ckenneth.hatten%40zigabyte.com%7C6ff5cbedc3dd4cef9ea908da4370128c%7C5f2d630ecdea4cfda145e634cbd11dec%7C0%7C0%7C637896445884121424%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ybK7bnsqxo7UJdrJSvKW9tgzmUne%2FiDjgzzaEL8WdnA%3D&reserved=0"><span style="color:#0563C1;text-decoration:none"><img border="0" width="125" height="25" style="width:1.302in;height:.2604in" id="_x0000_i1025" src="http://zigabytepublic.s3.us-east-2.amazonaws.com/Zigabyte_Transparent.png"></span></a><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif">| Character | Competence | Community</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif">email:
</span><a href="mailto:kenneth.hatten@zigabyte.com"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#0563C1">kenneth.hatten@zigabyte.com</span></a><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif">cell: 972-658-1275</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>