Incorporate STIG Exceptions - microsoft/SCAR GitHub Wiki
This topic will cover the process of adding STIG Exeptions to NodeData in SCAR.
Review existing Group Policy to determine STIG exceptions
- Log into a Server and open Powershell as Administrator
- Run the following command - GPResult /h $env:Userprofile\Desktop\GPResult.HTML
- Review the Group Policy results and look for any STIG Exception GPOs being applied
- Open the STIG Checklist PowerBI Dashboard
- Select the CKL View tab
- Use the filters to drill down to your system(s)
- Set the Status filter to Open
- Review the STIG Exception settings within the GPResult and use the Checklist Content to determine which Vulnerability ID each setting maps to
- Follow the guidance to Create a development branch
- Open the nodedata file(s) for your system(s) under the "NodeData" folder within your development branch
- Add a "Skiprule" entry for each STIG exception that is required for each STIG type seperated by commas: Single Exception: SkipRule = 'V-0000' Multiple Exceptions: SkipRule = 'V-0000','V-1111'
- I've reviewed my STIG Exceptions Group Policy the following setting is in the policy:
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options
System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing: Disabled
- Look at the STIG Checklist PowerBI Dashboard and filter down to open findings on my system to find the Vulnerability ID for FIPS
- The Vulnerability ID for FIPs on server 2016 is V-205842
- Create a branch in SCAR called FipsStigException-DevOps
- Find the nodedata file for my system - Nodedata\DevOps\NAIT04CMV70.psd1
- Add a SkipRule line under the PowerSTIG_WindowsServer scriptblock as follows:
- Prior to adding the skiprule for FIPS, the PowerSTIG_WindowsServer scriptblock with the nodedata file looks like the following example:
PowerSTIG_WindowsServer =
@{
OSRole = "MS"
OsVersion = "2016"
DomainName = "usafricom"
ForestName = "usafricom"
OrgSettings = "C:\DevOps_Agents\StigAgent01\_work\3\s\Resources\Stig Data\Organizational Settings\WindowsServer-2016-MS-2.1.org.default.xml"
ManualChecks = "C:\DevOps_Agents\StigAgent01\_work\3\s\Resources\Stig Data\Manual Checks\WindowsServer\WindowsServer-2016-MS-1R12-ManualChecks.psd1"
xccdfPath = "C:\DevOps_Agents\StigAgent01\_work\3\s\Resources\Stig Data\XCCDFs\Windows.Server.2016\U_MS_Windows_Server_2016_STIG_V2R1_Manual-xccdf.xml"
}
- Click the "edit" button and add the skiprule. After Adding the STIG Exception for FIPS, the PowerSTIG_WindowsServer scriptblock should look like the following:
PowerSTIG_WindowsServer =
@{
OSRole = "MS"
OsVersion = "2016"
DomainName = "usafricom"
ForestName = "usafricom"
OrgSettings = "C:\DevOps_Agents\StigAgent01\_work\3\s\Resources\Stig Data\Organizational Settings\WindowsServer-2016-MS-2.1.org.default.xml"
ManualChecks = "C:\DevOps_Agents\StigAgent01\_work\3\s\Resources\Stig Data\Manual Checks\WindowsServer\WindowsServer-2016-MS-1R12-ManualChecks.psd1"
xccdfPath = "C:\DevOps_Agents\StigAgent01\_work\3\s\Resources\Stig Data\XCCDFs\Windows.Server.2016\U_MS_Windows_Server_2016_STIG_V2R1_Manual-xccdf.xml"
SkipRule = "V-205842"
}
- Click the Commit button and click Commit again in the menu that pops up. This saves (or commits) your changes to the branch.
- Once your changes are committed to the branch, create a pull request to merge your changes into the Master branch.
- If your pull request requires additional/modifications, a reviewer will add comments for you to address. Once all Comments have been completed in the PR, it can be approved/merged into the Master branch.