<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Suse on Major Hayden</title><link>https://major.io/tags/suse/</link><description>Recent content in Suse on Major Hayden</description><generator>Hugo</generator><language>en</language><managingEditor>major@mhtx.net (Major Hayden)</managingEditor><webMaster>major@mhtx.net (Major Hayden)</webMaster><copyright>All content licensed &lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;CC BY-SA 4.0&lt;/a&gt;</copyright><lastBuildDate>Wed, 05 Aug 2026 12:23:48 -0500</lastBuildDate><atom:link href="https://major.io/tags/suse/index.xml" rel="self" type="application/rss+xml"/><item><title>Changes in RHEL 7 Security Technical Implementation Guide Version 1, Release 3</title><link>https://major.io/p/changes-in-rhel-7-security-technical-implementation-guide-version-1-release-3/</link><pubDate>Thu, 02 Nov 2017 15:00:25 +0000</pubDate><author>major@mhtx.net (Major Hayden)</author><guid>https://major.io/p/changes-in-rhel-7-security-technical-implementation-guide-version-1-release-3/</guid><description>&lt;p&gt;The latest release of the Red Hat Enterprise Linux Security Technical Implementation Guide (STIG) &lt;a href="https://public.cyber.mil/stigs/"&gt;was published last week&lt;/a&gt;.
This release is Version 1, Release 3, and it contains four main changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;V-77819 - Multifactor authentication is required for graphical logins&lt;/li&gt;
&lt;li&gt;V-77821 - Datagram Congestion Control Protocol (DCCP) kernel module must be disabled&lt;/li&gt;
&lt;li&gt;V-77823 - Single user mode must require user authentication&lt;/li&gt;
&lt;li&gt;V-77825 - Address space layout randomization (ASLR) must be enabled&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="deep-dive"&gt;Deep dive&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s break down this list to understand what each one means.&lt;/p&gt;
&lt;h3 id="v-77819---multifactor-authentication-is-required-for-graphical-logins"&gt;V-77819 - Multifactor authentication is required for graphical logins&lt;/h3&gt;
&lt;p&gt;This requirement improves security for graphical logins and extends the existing requirements for multifactor authentication for logins (see V-71965, V-72417, and V-72427). The STIG recommends smartcards (since the US Government often uses &lt;a href="https://en.wikipedia.org/wiki/Common_Access_Card"&gt;CAC cards&lt;/a&gt; for multifactor authentication), and this is a good idea for high security systems.&lt;/p&gt;
&lt;p&gt;I use &lt;a href="https://www.yubico.com/products/yubikey-hardware/yubikey4/"&gt;Yubikey 4&amp;rsquo;s&lt;/a&gt; as smartcards in most situations and they work anywhere you have available USB slots.&lt;/p&gt;
&lt;h3 id="v-77821---datagram-congestion-control-protocol-dccp-kernel-module-must-be-disabled"&gt;V-77821 - Datagram Congestion Control Protocol (DCCP) kernel module must be disabled&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Datagram_Congestion_Control_Protocol"&gt;DCCP&lt;/a&gt; is often used as a congestion control mechanism for UDP traffic, but it isn&amp;rsquo;t used that often in modern networks. There have been &lt;a href="https://threatpost.com/impact-of-new-linux-kernel-dccp-vulnerability-limited/123863/"&gt;vulnerabilities&lt;/a&gt; in the past that are mitigated by disabling DCCP, so it&amp;rsquo;s a good idea to disable it unless you have a strong reason for keeping it enabled.&lt;/p&gt;
&lt;p&gt;The ansible-hardening role has been updated to &lt;a href="https://docs.openstack.org/ansible-hardening/latest/rhel7/domains/kernel.html#v-77821"&gt;disable the DCCP kernel module by default&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="v-77823---single-user-mode-must-require-user-authentication"&gt;V-77823 - Single user mode must require user authentication&lt;/h3&gt;
&lt;p&gt;Single user mode is often used in emergency situations where the server cannot boot properly or an issue must be repaired without a fully booted server. This mode can only be used at the server&amp;rsquo;s physical console, serial port, or via out-of-band management (DRAC, iLO, and IPMI). Allowing single-user mode access without authentication is a serious security risk.&lt;/p&gt;
&lt;p&gt;Fortunately, every distribution supported by the ansible-hardening role already has authentication requirements for single user mode in place. The ansible-hardening role does not make any adjustments to the single user mode unit file since any untested adjustment could cause a system to have problems booting.&lt;/p&gt;
&lt;h3 id="v-77825---address-space-layout-randomization-aslr-must-be-enabled"&gt;V-77825 - Address space layout randomization (ASLR) must be enabled&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Address_space_layout_randomization"&gt;ASLR&lt;/a&gt; is a handy technology that makes it more difficult for attackers to guess where a particular program is storing data in memory. It&amp;rsquo;s not perfect, but it certainly raises the difficulty for an attacker. There are multiple settings for this variable and the &lt;a href="https://www.kernel.org/doc/Documentation/sysctl/kernel.txt"&gt;kernel documentation for sysctl&lt;/a&gt; has some brief explanations for each setting (search for &lt;code&gt;randomize_va_space&lt;/code&gt; on the page).&lt;/p&gt;
&lt;p&gt;Every distribution supported by the ansible-hardening role is already setting &lt;code&gt;kernel.randomize_va_space=2&lt;/code&gt; by default, which applies randomization for the basic parts of process memory (such as shared libraries and the stack) as well as the heap. The ansible-hardening role will ensure that the default setting is maintained.&lt;/p&gt;
&lt;h2 id="ansible-hardening-is-already-up-to-date"&gt;ansible-hardening is already up to date&lt;/h2&gt;
&lt;p&gt;If you&amp;rsquo;re already using the ansible-hardening role&amp;rsquo;s master branch, these changes are &lt;a href="https://github.com/openstack/ansible-hardening/commit/782bb48c14c03aedaefcaf421fd5935ef5f561b8"&gt;already in place&lt;/a&gt;! Try out the new updates and &lt;a href="https://bugs.launchpad.net/openstack-ansible/+filebug"&gt;open a bug report&lt;/a&gt; if you find any problems.&lt;/p&gt;</description></item><item><title>Apply the STIG to even more operating systems with ansible-hardening</title><link>https://major.io/p/apply-stig-operating-systems-ansible-hardening/</link><pubDate>Fri, 21 Jul 2017 17:38:46 +0000</pubDate><author>major@mhtx.net (Major Hayden)</author><guid>https://major.io/p/apply-stig-operating-systems-ansible-hardening/</guid><description>&lt;p&gt;Tons of improvements made their way into the &lt;a href="https://github.com/openstack/ansible-hardening"&gt;ansible-hardening&lt;/a&gt; role in preparation for the OpenStack Pike release &lt;a href="https://releases.openstack.org/pike/schedule.html"&gt;next month&lt;/a&gt;. The role has a &lt;a href="https://major.io/2017/06/27/old-role-new-name-ansible-hardening/"&gt;new name&lt;/a&gt;, new &lt;a href="https://docs.openstack.org/ansible-hardening/latest/"&gt;documentation&lt;/a&gt; and extra tests.&lt;/p&gt;
&lt;p&gt;The role uses the Security Technical Implementation Guide (STIG) produced by the Defense Information Systems Agency (DISA) and applies the guidelines to Linux hosts using Ansible. Every control is configurable via simple Ansible variables and each control is thoroughly documented.&lt;/p&gt;
&lt;p&gt;These controls are now applied to an even wider variety of Linux distributions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CentOS 7&lt;/li&gt;
&lt;li&gt;Debian 8 Jessie &lt;em&gt;(new for Pike)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Fedora 25 &lt;em&gt;(new for Pike)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;openSUSE Leap 42.2+ &lt;em&gt;(new for Pike)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Red Hat Enterprise Linux 7&lt;/li&gt;
&lt;li&gt;SUSE Linux Enterprise 12 &lt;em&gt;(new for Pike)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Ubuntu 14.04 Trusty&lt;/li&gt;
&lt;li&gt;Ubuntu 16.04 Xenial&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Any patches to the ansible-hardening role are tested against all of these operating systems (except RHEL 7 and SUSE Linux Enterprise). Support for openSUSE testing &lt;a href="https://github.com/openstack-infra/project-config/commit/0795a7414ca8f06931877919d7ecb0b2d4e5f6e0"&gt;landed this week&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Work is underway to put the finishing touches on the master branch before the Pike release and we need your help!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you have any of these operating systems deployed, please test the role on your systems! This is pre-release software, so it&amp;rsquo;s best to apply it only to a new server. Read the &lt;a href="https://docs.openstack.org/ansible-hardening/latest/getting-started.html"&gt;&amp;ldquo;Getting Started&amp;rdquo;&lt;/a&gt; documentation to get started with &lt;code&gt;ansible-galaxy&lt;/code&gt; or &lt;code&gt;git&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Photo credit: &lt;a href="https://commons.wikimedia.org/wiki/File%3ASamuil's_Fortress_and_Ohrid_Lake.JPG"&gt;Wikipedia&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>