<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#ffffff">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">For extra sauce, the 'space_left_action' check is the one that went from PASS to FAIL, and the current value went from 'SYSLOG' to 'email'.&nbsp;
<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF616893"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Robert Sanders<br>
<b>Sent:</b> Wednesday, August 28, 2013 4:52 PM<br>
<b>To:</b> scap-security-guide@lists.fedorahosted.org<br>
<b>Subject:</b> RE: Various False Positives?<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Maura,<br>
&nbsp; I just pulled the latest git stuff down and made it all, zipped up all the 'ssg-' files from the output directory and dropped that on the SCC3.1 GA scanner.&nbsp; A stock box had 6 passes and 5 failures out of total of 388 items.&nbsp; After locking it down with SB
 I went to 5 passes and 6 failures (yep - wrong way) out of 388.&nbsp; Operator error on making the packages ?<br>
<br>
&nbsp; Couple of interesting questions on the results (after scan):<br>
<br>
<br>
<br>
&nbsp; Set default bash umask (ditto for csh and default umask)<br>
&nbsp;&nbsp;&nbsp; Examing the indicated files shows there are two places where the umask could be set, one for 002 and one for 022, with the UID of the caller determining which is used.&nbsp; The scanner is catching the first instance.&nbsp;
<br>
<br>
&nbsp; Configure Auditd for space_left and admin_space_left:<br>
&nbsp;&nbsp;&nbsp; In both cases I inspected the /etc/audit/auditd.conf file and verify that the required line is present according to the prose. I do notice that the list of appropriate actions appears to be a single 'word' set to be:<br>
<br>
&nbsp;&nbsp; ignoresyslogemailexecsuspendsinglehalt<br>
<br>
Not sure what is going on under the hood to know if these are being glommed together for the prose but kept separate for the OVAL checks or not.<br>
<br>
I need to try and rerun with the SCC rc6 beta, but may not have time today...<br>
<br>
-Rob<br>
&nbsp; <br>
<br>
<br>
<br>
&nbsp; <br>
<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div id="divRpF529901" style="direction: ltr;"><font color="#000000" face="Tahoma" size="2"><b>From:</b> scap-security-guide-bounces@lists.fedorahosted.org [scap-security-guide-bounces@lists.fedorahosted.org] on behalf of Maura Dailey [maura@eclipse.ncsc.mil]<br>
<b>Sent:</b> Wednesday, August 28, 2013 1:05 PM<br>
<b>To:</b> scap-security-guide@lists.fedorahosted.org<br>
<b>Subject:</b> Re: Various False Positives?<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">On 08/28/2013 12:04 PM, leam hall wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hey all,<br>
<br>
</div>
<div>Just ran oscap with the xml files available on the website (Benchmark version 0.9). Here are the issues that seem to be false positives. Prefix everything with &quot;RHEL-06-000&quot;. These are all marked as fail but the server meets the STIG.<br>
</div>
</div>
</blockquote>
Stupid question, but what are you running against exactly? The RPM or the latest git checkout? I want to make sure that if I run this, I'm seeing the same results, and I've made a lot of changes to OVAL checks in the git repository in the past few weeks. I'm
 going to run through your list, comparing it against the OVAL checks.<br>
<blockquote type="cite">
<div dir="ltr">
<div>&nbsp; 9&nbsp;&nbsp; rhnsd can be on if configured to Satellite server or similar<br>
</div>
</div>
</blockquote>
Fix text definitely implies this. It's not the only service that implies it's allowed in certain environments, but then proceeds to only accept a value of disabled.<br>
<blockquote type="cite">
<div dir="ltr">
<div>&nbsp;57&nbsp;&nbsp; ucredit <br>
</div>
<div>&nbsp;58&nbsp;&nbsp; ocredit<br>
</div>
<div>&nbsp;59&nbsp;&nbsp; lcredit<br>
</div>
</div>
</blockquote>
For the previous 3, I'd like to see the pam_cracklib.so line so I can troubleshoot.<br>
<blockquote type="cite">
<div dir="ltr">
<div>&nbsp;73&nbsp;&nbsp; /etc/issue<br>
</div>
</div>
</blockquote>
Going back to my many many OVAL check updates, I'd like to see your exact /etc/issue so I can debug what went wrong. If it's an exact copy of the text from the STIG, I'll work off that.<br>
<blockquote type="cite">
<div dir="ltr">
<div>&nbsp;98&nbsp; No ipv6 installed<br>
</div>
</div>
</blockquote>
Do you mean it's disabled on your system, but the OVAL checks are saying it isn't?<br>
<blockquote type="cite">
<div dir="ltr">
<div>&nbsp;99&nbsp; &quot;<br>
</div>
</div>
</blockquote>
?<br>
<blockquote type="cite">
<div dir="ltr">
<div>165&nbsp; adjtimex<br>
</div>
<div>167&nbsp; settimeofday<br>
</div>
<div>169&nbsp; stime&nbsp; // Also, the STIG is wrong. There is no x86_64 stime syscall<br>
</div>
</div>
</blockquote>
The STIG actually says that stime is not necessary, which is kind of a strange wording, but the suggested line in the fix text prose is correct, at least. So far as OVAL checks go, I haven't gotten to testing audit checks yet. Maybe this is broken. I'll check
 it out once I've deciphered the OVAL check.<br>
<blockquote type="cite">
<div dir="ltr">
<div>171&nbsp; clock_settime<br>
</div>
<div>184-196, 200 chmod, chown, etc...<br>
</div>
</div>
</blockquote>
Haven't tested audit checks yet...<br>
<blockquote type="cite">
<div dir="ltr">
<div></div>
<div>206-211&nbsp; No telnet installed or turned on<br>
</div>
</div>
</blockquote>
These are both automated checks. Unless the package name is wrong, I don't know why they'd give false positives.<br>
<blockquote type="cite">
<div dir="ltr">
<div>240&nbsp; /etc/ssh/sshd_config Banner<br>
</div>
</div>
</blockquote>
The OVAL check was definitely working on my system when I last tested it.<br>
<blockquote type="cite">
<div dir="ltr">
<div>271&nbsp; If there are no removable partitions this is not a finding.<br>
</div>
</div>
</blockquote>
Working on testing this one now...<br>
<blockquote type="cite">
<div dir="ltr">
<div>278&nbsp; If the file permissions are more restrictive then it is not a finding.<br>
</div>
<div>324&nbsp; No X running<br>
</div>
</div>
</blockquote>
Agreed, the GNOME checks need to be rewritten to have extended definitions to exclude machines that don't have X installed.<br>
<blockquote type="cite">
<div dir="ltr">
<div>326&nbsp;&nbsp; &quot;&nbsp; <br>
</div>
</div>
</blockquote>
?<br>
<blockquote type="cite">
<div dir="ltr">
<div>346&nbsp; Finding reported on umask 022<br>
</div>
</div>
</blockquote>
This is DEFINITELY a bug. The check section is actually pointing to a different check. The actual check for this rule was never written.<br>
<blockquote type="cite">
<div dir="ltr">
<div>348&nbsp; No vsftp installed, thus no file.<br>
</div>
</div>
</blockquote>
No OVAL check exists in SSG.<br>
<blockquote type="cite">
<div dir="ltr">
<div>506&nbsp; &quot;hushlogin&quot;<br>
</div>
</div>
</blockquote>
This one isn't in the SSG at all.<br>
<blockquote type="cite">
<div dir="ltr">
<div>507&nbsp; PrintLastLog<br>
</div>
</div>
</blockquote>
This one isn't in the SSG at all.<br>
<br>
- Maura Dailey<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>Am I confused in thinking a system in run level 3 should net need to worry about X/Gnome findings?<br>
<br>
</div>
<div>Leam<br>
</div>
<div>
<div><br>
-- <br>
<div><a href="http://leamhall.blogspot.com/" target="_blank">Mind on a Mission</a></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
scap-security-guide mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scap-security-guide@lists.fedorahosted.org" target="_blank">scap-security-guide@lists.fedorahosted.org</a>
<a class="moz-txt-link-freetext" href="https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>