<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Allen Golbig on Medium]]></title>
        <description><![CDATA[Stories by Allen Golbig on Medium]]></description>
        <link>https://medium.com/@golbiga?source=rss-824ff7e1d7e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Yvrgk__66OQoiOkO.jpg</url>
            <title>Stories by Allen Golbig on Medium</title>
            <link>https://medium.com/@golbiga?source=rss-824ff7e1d7e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:28:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@golbiga/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting to Know: macOS Security Compliance Project - Part 2]]></title>
            <link>https://golbiga.medium.com/getting-to-know-macos-security-compliance-project-part-2-24131b60cdfb?source=rss-824ff7e1d7e------2</link>
            <guid isPermaLink="false">https://medium.com/p/24131b60cdfb</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[mac-admin]]></category>
            <category><![CDATA[compliance]]></category>
            <dc:creator><![CDATA[Allen Golbig]]></dc:creator>
            <pubDate>Thu, 08 Apr 2021 00:49:16 GMT</pubDate>
            <atom:updated>2021-04-09T16:11:50.800Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E3RNrQjm9B9oPkBoTuWG5A.png" /></figure><p>In my previous <a href="https://golbiga.medium.com/getting-to-know-macos-security-compliance-project-part-1-31d0689b7c30">post</a>, I walked through how to get started with the <a href="https://github.com/usnistgov/macos_security">macOS Security Compliance Project</a> (MSCP). While conceptualizing and planning the project, we all agreed that one of the primary objectives would be to ensure that admins would have the flexibility to modify or add rules as necessary to meet their organizations’ requirements.</p><p>In this post, I’ll show you how to customize one of the existing rule files; I’ll also provide the steps you’ll want to perform to verify that your changes have been made to the final product. Before I go through the process, let’s take a closer look at the anatomy of a rule file.</p><h3>Rules</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqWuLCgYLlYaai2f3hs0_Q.png" /><figcaption>sysprefs_time_server_configure.yaml</figcaption></figure><p>A rule file is broken up into the following fields:</p><ul><li><strong>id: </strong>must match the filename, but do not include the YAML extension.</li><li><strong>title:</strong> a<strong> </strong>human-readable title for the rule.</li><li><strong>discussion:</strong> concise description for the intended use of the rule and how it relates to the NIST SP 800–53 control it is mapped to.</li><li><strong>check:</strong> every rule will have a check; most rules can be validated and checked with a shell-based check.</li><li><strong>result:</strong> the expected result for the check.</li><li><strong>fix:</strong> instructions for remediating a rule if the expected results are not met; if this field contains [source,bash], then the fix will be used in the compliance script.</li><li><strong>references:</strong> includes a <a href="https://nvd.nist.gov/config/cce">Common Configuration Enumeration (CCE)</a> and mappings of the security frameworks, guidance, and individual controls that are mapped to the rule.</li><li><strong>macOS: </strong>the<strong> </strong>version of macOS for which this rule is validated.</li><li><strong>tags: </strong>metadata used to categorize and identify related rules. Tags are primarily used to identify which baseline a rule falls under, but can include any additional information that can be used to make index-based searching of the rules faster and easier.</li><li><strong>mobileconfig/mobileconfig_info: </strong>contains the values required to generate a configuration profile.</li></ul><h3>Customization</h3><p>Customization allows an individual or organization to set their preferred values for existing rules as well as to create rules that are not already included in the project. All custom files should be stored within the custom/rules folder; when the generate_guidance.py script runs, it will either overwrite or add a rule to the output. For existing rules, only the fields that are being customized need to remain — this ensures that your custom rules will continue working as the project is updated (including updates to meet the needs of future OS releases).</p><h4>Example</h4><p>A common rule that is customized to meet an organization’s value is <em>“Configure macOS to Use an Authorized Time Server”.</em></p><p>1.Copy the existing rule from rules/sysprefs/sysprefs_time_server_configure.yaml to custom/rules/, and remove everything but the following fields:</p><ul><li>results</li><li>references</li><li>mobileconfig_info</li></ul><p>2.In the results and mobileconfig_info fields, replace the time servers defined by the project (time-a.nist.gov &amp; time-b.nist.gov) with your organization’s approved time server.</p><ul><li>For this example we’re also going to add some custom references. Custom references can be used to map a rule to additional resources, such as internal guidance or developer documentation; they can also be used as a means to document how a rule is audited and remediated.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QQBLgjdIqHDtM9EBFUvBIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0HBNPLva1HA5gCIue179bg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a8wI9tyOkKiy9OlkHYJVEw.png" /></figure><p>3.Now that we have a custom version of <em>“Configure macOS to Use an Authorized Time Server”</em>, run generate_guidance.py against the NIST SP 800–53_high baseline (which is already included in the project).</p><pre>./scripts/generate_guidance.py baselines/800-53_high.yaml -s -p -x </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LTIpdjdl9OoeUy2Ysr6_9A.png" /></figure><ul><li>As you can see, the script recognizes that sysprefs_time_server_configure.yaml contains custom values. When we take a peek below, you can see that the custom values are now defined in the output.</li><li>Note that the <em>Modified Rule</em> field will also now appear in the spreadsheet, which indicates which fields in your rules are customized.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J-NFFZhNR05mXx74Q4XI_g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mz9iWxOAdGt2768j-dQcwA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*_SgOfgGR-cAI3EKNHnUeCA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-duXU611OTQnJwmpfBqX4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ahUT9NUQ4u6jMsQeSoPgjQ.png" /></figure><p>Congratulations! You’re now ready to create custom rules and generate guidance that is tailored to your organization’s specific requirements.</p><p>In my next post, we’ll explore how to create your own guidance by creating a customized baseline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24131b60cdfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting to Know: macOS Security Compliance Project Part 1]]></title>
            <link>https://golbiga.medium.com/getting-to-know-macos-security-compliance-project-part-1-31d0689b7c30?source=rss-824ff7e1d7e------2</link>
            <guid isPermaLink="false">https://medium.com/p/31d0689b7c30</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[mac-admin]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[compliance]]></category>
            <dc:creator><![CDATA[Allen Golbig]]></dc:creator>
            <pubDate>Tue, 09 Mar 2021 22:17:31 GMT</pubDate>
            <atom:updated>2021-04-09T16:12:32.056Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting to Know: macOS Security Compliance Project - Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E3RNrQjm9B9oPkBoTuWG5A.png" /></figure><p>Last June, after months of collaboration, engineers from NIST, NASA, DISA, and LANL released the <a href="https://github.com/usnistgov/macos_security">macOS Security Compliance Project</a> (MSCP). The project is an open-source effort designed to provide a programmatic approach to generating security configuration guidance for macOS. The guidance provided by this project is available to any organization (e.g., government, enterprise, education) that is required to adhere to security compliance frameworks and policies. The objective of MSCP is to provide - in an easily accessible and tailorable manner - the necessary files that any Mac admin, security professional, policy author, privacy officer, or MDM/Compliance tool vendor would need to secure macOS.</p><p>MSCP currently supports the following US Federal published guides:</p><ul><li><a href="https://csrc.nist.gov/publications/detail/sp/800-53/rev-4/final">NIST 800–53</a> (High, Moderate, and Low)</li><li><a href="https://csrc.nist.gov/publications/detail/sp/800-171/rev-2/final">NIST 800–171</a></li><li><a href="https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_macOS_11_V1R1_STIG.zip">DISA STIG</a></li><li><a href="https://www.cnss.gov/CNSS/issuances/Instructions.cfm">CNSSI 1253</a></li></ul><p>All of the rule and baseline files are written in YAML. Python scripts are then used to parse the YAML and generate customized guides containing the rule files a given organization is required to implement.</p><p>This blog post will walk through the process of cloning the project and running the Python scripts so that you can generate all the files associated with a specific baseline.</p><h3>Structure</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V6RhQjV4csyBDiULBTCjrg.png" /></figure><p>The main folders of the project are:</p><ul><li><strong>baselines</strong> - the files that contain all the rules and sections for the publications that are supported by the project</li><li><strong>build</strong> - all files that are generated by the project are output here - broken down by baselines</li><li><strong>custom</strong> - all files used for creating tailored versions of the rules and sections (to meet an organization’s specific requirements)</li><li><strong>rules</strong> - individual YAML content (used for securing the operating system)</li><li><strong>scripts</strong> - all scripts used by the project to generate all possible outputs for the chosen baseline</li></ul><h3>Getting Started</h3><p>In order to begin, make sure that you’ve got Apple’s Command-Line tools installed. If you don’t, run the following:</p><pre>xcode-select --install</pre><p>Once the tools are installed, you can follow this gist to get your system ready to create guidance files. This post will use the Python3 that ships with the Apple’s Command-Line tools, but Python3 from any source will work.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d152e5aa476aa4f0fc83abf7b16f084c/href">https://medium.com/media/d152e5aa476aa4f0fc83abf7b16f084c/href</a></iframe><h3>Generating Guidance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ek3WvzTKrI7Ui5U8_gasQ.png" /></figure><p>Now that your system is configured, you are ready to generate some guidance. MSCP is designed to be easily adjusted, so it can remain up-to-date with macOS release cycles. Be sure to git checkout the version of macOS your organization is looking to configure, as that branch contains the most up-to-date version of the content you need .</p><p>The generate_guidance.py script allows you to choose what content is generated. If no arguments are passed, AsciiDoc, HTML, and PDF documents are created, by default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2dQB3N7kuV9ZcGVIpp9h5g.png" /></figure><p>Additional command-line arguments are available to create:</p><ul><li>-p Configuration Profiles (unsigned or signed) / custom preferences - upload into the MDM of your choice</li><li>-x Excel spreadsheet - to hand over to auditors</li><li>-s Compliance Script - audit your fleet and remediate settings not applied via a configuration profile</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YPwm9PVQlPcoeeG3k_j7fw.png" /></figure><p>That’s it! Now you’re now ready to use MSCP to create one of the built-in baselines. In my next post, we’ll explore how to customize the content to meet your organization’s requirements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31d0689b7c30" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>