SlideShare a Scribd company logo
1 of 44
Download to read offline
ADD NAME (View > Master > Slide master)
OpenSCAP Workshop
Hands-on Labs to explore
Scanning, Reporting, Remediation
Shawn Wells
shawn@redhat.com || 443-534-0130 (US EST)
1.What’s the latest in the Linux Security Automation space?
a.Government & Commercial Initiatives
b.Formal and Emerging SCAP Standards
2.What tools and content are available today?
a.For enumerating (known) software vulnerabilities
b.For assessing configuration
In the next 2 hours . . .
1.Install and review compliance profiles in RHEL 7
2.Perform and interpret compliance scans, then remediate findings
3.Create custom (derived) configuration baseline with SCAP Workbench
4.RHEL 7 “Easy Button” Installations
5.Introspectively scan Linux containers
6._______________________________
MOTIVATION
RHEL5 STIG
● 587 compliance items
● Many are manual
Avg Time to Configure &
Verify Setting
#
controls
Total Time
per RHEL instance
1 minute * 587 9.7 hours
3 minutes * 587 29.4 hours
5 minutes * 587 48.9 hours
… or a single LOC in kickstart
$ oscap xccdf eval
--profile rhel7-stig
--remediate
--report /root/scan-report.html
/usr/share/xml/scap/content.xml
ADD NAME (View > Master > Slide master)
Intro to SCAP
First, an SCAP Primer
● A family of specifications managed by NIST
● Really a bunch of XML schema
○ which are data formats
○ so not a protocol at all, it turns out
○ openly defined, community developed, and evolving
First, an SCAP Primer
● Defines standardized formats
● Because you’ll get:
○ Standardized inputs (e.g. a compliance baseline)
○ Standardized outputs (e.g. compliance report)
● Provides the enterprise liberty with regard to product choices
○ Avoid vendor lock-in
○ Federal procurement language starting to require SCAP
TOOLS
vs
CONTENT
U.S. Gov SCAP Validation Program
https://scap.nist.gov/validation/
● Automated test suites to verify interpreters, like OpenSCAP
● Mandated by US Gov:
The U.S. Office of Management and Budget has required, in the August 11, 2008, M-08-22
memorandum to Federal CIOs, that "Both industry and government information technology
providers must use SCAP validated tools with FDCC Scanner capability to certify their products
operate correctly with FDCC configurations and do not alter FDCC settings. Agencies will use
SCAP tools to scan for both FDCC configurations and configuration deviations approved by
department or agency accrediting authority. Agencies must also use these tools when
monitoring use of these configurations as part of FISMA continuous monitoring."
● Required by GSA for vulnerability and configuration management
products
U.S. Gov SCAP Validation Program
Also covers content (reference: NIST SP 800-70)
Tier Machine
Readable?
Automated Format? References to Security
Compliance Framework?
1 No N/A Optional
2 Yes Non-standard (proprietary, product-specific, etc) Optional
3 Yes Complete SCAP-expressed checklist that should
run in SCAP-enabled products and pass through
SCAPVal with no errors
Optional
4 Yes Tier III
+
Includes low-level security enumerations that map to
high-level security requirements (e.g. SP 800-53
controls)
Required; must be vetted with
at least one governance
organization authoritative for
the security compliance
framework.
ADD NAME (View > Master > Slide master)
ACRONYM BREAKDOWN
Pop Quiz!
1.What assurances do I have
that CVSS scores are
accurate?
2.Who assigns CCEs?
3.Who reviews the CCE to
NIST mappings?
ADD NAME (View > Master > Slide master)
OPEN SOURCE
CONFRONTS THE C&A CHALLENGE:
OpenSCAP
Community created portfolio of tools and content
to assess systems for known vulnerabilities.
https://github.com/OpenSCAP
2008 First commit to OpenSCAP,
execution capability for SCAP on Linux
2008 First commit to OpenSCAP,
execution capability for SCAP on Linux
2011 First commit to SCAP Security Guide,
hardening guidance + policy references
Colloquially, “SCAP Content”
Power of the Community
● RHEL7 STIG content, rebased in RHEL 7.3, reflects . . .
○ 6,180 commits from 95 people
○ 441,055 lines of code
● OpenSCAP interpreter contains . . .
○ 6,811 commits from 74 people
○ 157,775 lines of code
● “Security Button” in RHEL7 installer
○ 6 people, 90 days, 6,806 lines of code
ADD NAME (View > Master > Slide master)
Keyboard Time!
Step 1: Download SSH keys
http://studentX.labs.redhatgov.io
Step 2: Login
$ ssh -i <key> ec2-user@studentX.labs.redhatgov.io
Step 3: Sudo to root
$ sudo bash
#1: INSTALL, REVIEW PROFILES
Install OpenSCAP and SCAP Content
$ sudo yum -y install openscap-scanner scap-security-guide
What default profiles exist?
$ oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-xccdf.xml
….
Profiles:
pci-dss
rht-ccp
common
stig-rhel7-server-upstream
(p.s., we’re changing that super long /usr/share/xml/… path in rhel 7.4)
#2: REVIEW HARDENING GUIDES
Review manpage
$ man scap-security-guide
Pop Quiz: Where are the files for the HTML guides located?
For the workshop:
http://studentX.labs.redhatgov.io → click on “SSG Docs”
we copied the files for easy viewing
#3: REVIEW POLICY MAPPINGS
In preparing for the workshop, I noticed we did not document the policy mapping tables in the
man page. Fixing that for next RHEL release.
So for now, they’re located under
/usr/share/doc/scap-security-guide/tables
For the workshop:
http://studentX.labs.redhatgov.io → click on “SSG Docs” → tables
View the “table-rhel7-nistrefs-ospp.html”
#4: LOCAL SCAN, REVIEW RESULTS
Perform Scan
$ sudo bash
# oscap xccdf eval 
--profile rht-ccp 
--results /var/www/html/scans/myscan-results.xml 
--report /var/www/html/scans/myscan-report.html 
/usr/share/xml/scap/ssg/content/ssg-rhel7-xccdf.xml
Review Results
http://studentX.labs.redhatgov.io/ → “Scan Results”
Select “myscan-report.html”
Quick Review
1.If we forget the OpenSCAP CLI syntax, where can we look for a
reminder?
2.How do I tell what profiles are available?
a)What if I want to read through the profile
prior to a scan?
b)Help! My security officer is asking for NIST 800-53 and
DISA STIG mappings! Where are they?
Request for Feedback
Next rebase of OpenSCAP and SCAP Security Guide will be in
RHEL 7.4.
What additional paperwork can we ship to help make accreditation
easier?
ADD NAME (View > Master > Slide master)
Remediation!
Bash first
<fix system="urn:xccdf:fix:script:ansible">
- name: Update file permissions on /var/www/
become: yes
command: chmod -R 755 /var/www/
</fix>
RHEL 7.3 + beyond
Now has support for Ansible, but limited content.
But we can show our upstream work
(estimated RHEL 7.4 release)
- Where do we find available profile IDs?
(hint: oscap info)
- Extract DoD STIG Remediations for review
$ oscap xccdf generate fix 
--template urn:xccdf:fix:script:sh 
--profile <<profile ID>> 
--output /var/www/html/scans/remediation.sh.txt 
/usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
$ chmod 0755 /var/www/html/scans/remediation.sh.txt
Review Results
http://studentX.labs.redhatgov.io/ → “Scan Results” → remediation.sh.txt
#5: Review Remediation
$ sudo bash
# oscap xccdf eval --remediate 
--profile <<your profile>>
--results scan-results.xml 
--report scan-report.html 
<<SCAP content >>
“Online Remediation”
#6: STIG your VM
- Ensure you’re root
$ sudo bash
- The profile ID is obtuse. ‘oscap info’ to give you something to copy/paste
# oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
- Here’s hoping for no bugs!
# oscap xccdf eval --remediate 
--profile <<STIG>> 
--results /var/www/html/scans/stig-results.xml 
--report /var/www/html/scans/stig-report.html 
/usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
Download SCAP Workbench
$ sudo yum -y install scap-workbench
For extra details, https://www.open-scap.org/tools/scap-workbench/
SCAP WORKBENCH DEMO
ADD NAME (View > Master > Slide master)
We’re done!
Thank you!

More Related Content

What's hot

Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...
Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...
Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...RootedCON
 
Security on a Container Platform
Security on a Container PlatformSecurity on a Container Platform
Security on a Container PlatformAll Things Open
 
2013-07-21 MITRE Developer Days - Red Hat SCAP Remediation
2013-07-21 MITRE Developer Days - Red Hat SCAP Remediation2013-07-21 MITRE Developer Days - Red Hat SCAP Remediation
2013-07-21 MITRE Developer Days - Red Hat SCAP RemediationShawn Wells
 
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon
 
Dev confus.2020 compliance operator
Dev confus.2020 compliance operatorDev confus.2020 compliance operator
Dev confus.2020 compliance operatorjaormx
 
Docker In Bank Unrated
Docker In Bank UnratedDocker In Bank Unrated
Docker In Bank UnratedAleksandr Tarasov
 
Getting Started with OpenStack Development
Getting Started with OpenStack Development Getting Started with OpenStack Development
Getting Started with OpenStack Development Rackspace
 
InSpec Workshop DevSecCon 2017
InSpec Workshop DevSecCon 2017InSpec Workshop DevSecCon 2017
InSpec Workshop DevSecCon 2017Mandi Walls
 
Hardening solaris
Hardening solarisHardening solaris
Hardening solarisFemi Adeyemi
 
Service Discovery. Spring Cloud Internals
Service Discovery. Spring Cloud InternalsService Discovery. Spring Cloud Internals
Service Discovery. Spring Cloud InternalsAleksandr Tarasov
 
Whitepaper: User Audit Options for Linux and Solaris
Whitepaper: User Audit Options for Linux and SolarisWhitepaper: User Audit Options for Linux and Solaris
Whitepaper: User Audit Options for Linux and SolarisObserveIT
 
Security Checkpoints in Agile SDLC
Security Checkpoints in Agile SDLCSecurity Checkpoints in Agile SDLC
Security Checkpoints in Agile SDLCRahul Raghavan
 
The Usual Suspects - Red Hat Developer Day 2012-11-01
The Usual Suspects - Red Hat Developer Day 2012-11-01The Usual Suspects - Red Hat Developer Day 2012-11-01
The Usual Suspects - Red Hat Developer Day 2012-11-01Jorge Hidalgo
 
Justin collins - Practical Static Analysis for continuous application delivery
Justin collins - Practical Static Analysis for continuous application deliveryJustin collins - Practical Static Analysis for continuous application delivery
Justin collins - Practical Static Analysis for continuous application deliveryDevSecCon
 
Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0Gareth Chapman
 
Openstack bug list
Openstack bug listOpenstack bug list
Openstack bug listopenstackcisco
 
2013-04-03 Open Source Framework to Catch the Bad Guys
2013-04-03 Open Source Framework to Catch the Bad Guys2013-04-03 Open Source Framework to Catch the Bad Guys
2013-04-03 Open Source Framework to Catch the Bad GuysShawn Wells
 
DevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopDevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopMandi Walls
 
DevOOPS: Attacks and Defenses for DevOps Toolchains
DevOOPS: Attacks and Defenses for DevOps ToolchainsDevOOPS: Attacks and Defenses for DevOps Toolchains
DevOOPS: Attacks and Defenses for DevOps ToolchainsChris Gates
 

What's hot (20)

Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...
Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...
Daniel Kachakil - Android's Download Provider: Discovering and exploiting thr...
 
Security on a Container Platform
Security on a Container PlatformSecurity on a Container Platform
Security on a Container Platform
 
2013-07-21 MITRE Developer Days - Red Hat SCAP Remediation
2013-07-21 MITRE Developer Days - Red Hat SCAP Remediation2013-07-21 MITRE Developer Days - Red Hat SCAP Remediation
2013-07-21 MITRE Developer Days - Red Hat SCAP Remediation
 
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
 
Dev confus.2020 compliance operator
Dev confus.2020 compliance operatorDev confus.2020 compliance operator
Dev confus.2020 compliance operator
 
Docker In Bank Unrated
Docker In Bank UnratedDocker In Bank Unrated
Docker In Bank Unrated
 
Getting Started with OpenStack Development
Getting Started with OpenStack Development Getting Started with OpenStack Development
Getting Started with OpenStack Development
 
InSpec Workshop DevSecCon 2017
InSpec Workshop DevSecCon 2017InSpec Workshop DevSecCon 2017
InSpec Workshop DevSecCon 2017
 
Hardening solaris
Hardening solarisHardening solaris
Hardening solaris
 
Service Discovery. Spring Cloud Internals
Service Discovery. Spring Cloud InternalsService Discovery. Spring Cloud Internals
Service Discovery. Spring Cloud Internals
 
Docker In the Bank
Docker In the BankDocker In the Bank
Docker In the Bank
 
Whitepaper: User Audit Options for Linux and Solaris
Whitepaper: User Audit Options for Linux and SolarisWhitepaper: User Audit Options for Linux and Solaris
Whitepaper: User Audit Options for Linux and Solaris
 
Security Checkpoints in Agile SDLC
Security Checkpoints in Agile SDLCSecurity Checkpoints in Agile SDLC
Security Checkpoints in Agile SDLC
 
The Usual Suspects - Red Hat Developer Day 2012-11-01
The Usual Suspects - Red Hat Developer Day 2012-11-01The Usual Suspects - Red Hat Developer Day 2012-11-01
The Usual Suspects - Red Hat Developer Day 2012-11-01
 
Justin collins - Practical Static Analysis for continuous application delivery
Justin collins - Practical Static Analysis for continuous application deliveryJustin collins - Practical Static Analysis for continuous application delivery
Justin collins - Practical Static Analysis for continuous application delivery
 
Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0
 
Openstack bug list
Openstack bug listOpenstack bug list
Openstack bug list
 
2013-04-03 Open Source Framework to Catch the Bad Guys
2013-04-03 Open Source Framework to Catch the Bad Guys2013-04-03 Open Source Framework to Catch the Bad Guys
2013-04-03 Open Source Framework to Catch the Bad Guys
 
DevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopDevOpsDays InSpec Workshop
DevOpsDays InSpec Workshop
 
DevOOPS: Attacks and Defenses for DevOps Toolchains
DevOOPS: Attacks and Defenses for DevOps ToolchainsDevOOPS: Attacks and Defenses for DevOps Toolchains
DevOOPS: Attacks and Defenses for DevOps Toolchains
 

Similar to 2016 -11-18 OpenSCAP Workshop Coursebook

2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security Guide
2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security Guide2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security Guide
2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security GuideShawn Wells
 
2013-06-12 Compliance Made Easy, Red Hat Summit 2013
2013-06-12 Compliance Made Easy, Red Hat Summit 20132013-06-12 Compliance Made Easy, Red Hat Summit 2013
2013-06-12 Compliance Made Easy, Red Hat Summit 2013Shawn Wells
 
Oracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overviewOracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overviewGareth Chapman
 
Exachk Customer Presentation
Exachk Customer PresentationExachk Customer Presentation
Exachk Customer PresentationSandesh Rao
 
OWASP_Top_Ten_Proactive_Controls_v2.pptx
OWASP_Top_Ten_Proactive_Controls_v2.pptxOWASP_Top_Ten_Proactive_Controls_v2.pptx
OWASP_Top_Ten_Proactive_Controls_v2.pptxFernandoVizer
 
The Domino 10 RHEL 7 Primer
The Domino 10 RHEL 7 PrimerThe Domino 10 RHEL 7 Primer
The Domino 10 RHEL 7 PrimerBill Malchisky Jr.
 
OSDC 2017 - Mandi Walls - Building security into your workflow with inspec
OSDC 2017 - Mandi Walls - Building security into your workflow with inspecOSDC 2017 - Mandi Walls - Building security into your workflow with inspec
OSDC 2017 - Mandi Walls - Building security into your workflow with inspecNETWAYS
 
Adding Security to Your Workflow with InSpec (MAY 2017)
Adding Security to Your Workflow with InSpec (MAY 2017)Adding Security to Your Workflow with InSpec (MAY 2017)
Adding Security to Your Workflow with InSpec (MAY 2017)Mandi Walls
 
Maximizing Oracle RAC Uptime
Maximizing Oracle RAC UptimeMaximizing Oracle RAC Uptime
Maximizing Oracle RAC UptimeMarkus Michalewicz
 
OSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi Walls
OSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi WallsOSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi Walls
OSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi WallsNETWAYS
 
InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017Mandi Walls
 
Adding Security to Your Workflow With InSpec - SCaLE17x
Adding Security to Your Workflow With InSpec - SCaLE17xAdding Security to Your Workflow With InSpec - SCaLE17x
Adding Security to Your Workflow With InSpec - SCaLE17xMandi Walls
 
System Hardening Using Ansible
System Hardening Using AnsibleSystem Hardening Using Ansible
System Hardening Using AnsibleSonatype
 
How to Use OWASP Security Logging
How to Use OWASP Security LoggingHow to Use OWASP Security Logging
How to Use OWASP Security LoggingMilton Smith
 
Windows logging cheat sheet
Windows logging cheat sheetWindows logging cheat sheet
Windows logging cheat sheetMichael Gough
 
OWASP_Top_Ten_Proactive_Controls_v32.pptx
OWASP_Top_Ten_Proactive_Controls_v32.pptxOWASP_Top_Ten_Proactive_Controls_v32.pptx
OWASP_Top_Ten_Proactive_Controls_v32.pptxnmk42194
 
DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...
DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...
DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...DevOpsDays Riga
 
Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Nagaraju Repala
 
2016-08-18 Red Hat Partner Security Update
2016-08-18 Red Hat Partner Security Update2016-08-18 Red Hat Partner Security Update
2016-08-18 Red Hat Partner Security UpdateShawn Wells
 

Similar to 2016 -11-18 OpenSCAP Workshop Coursebook (20)

2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security Guide
2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security Guide2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security Guide
2012-10-16 Mil-OSS Working Group: Introduction to SCAP Security Guide
 
2013-06-12 Compliance Made Easy, Red Hat Summit 2013
2013-06-12 Compliance Made Easy, Red Hat Summit 20132013-06-12 Compliance Made Easy, Red Hat Summit 2013
2013-06-12 Compliance Made Easy, Red Hat Summit 2013
 
Oracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overviewOracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overview
 
Exachk Customer Presentation
Exachk Customer PresentationExachk Customer Presentation
Exachk Customer Presentation
 
OWASP_Top_Ten_Proactive_Controls_v2.pptx
OWASP_Top_Ten_Proactive_Controls_v2.pptxOWASP_Top_Ten_Proactive_Controls_v2.pptx
OWASP_Top_Ten_Proactive_Controls_v2.pptx
 
KVM_security
KVM_securityKVM_security
KVM_security
 
The Domino 10 RHEL 7 Primer
The Domino 10 RHEL 7 PrimerThe Domino 10 RHEL 7 Primer
The Domino 10 RHEL 7 Primer
 
OSDC 2017 - Mandi Walls - Building security into your workflow with inspec
OSDC 2017 - Mandi Walls - Building security into your workflow with inspecOSDC 2017 - Mandi Walls - Building security into your workflow with inspec
OSDC 2017 - Mandi Walls - Building security into your workflow with inspec
 
Adding Security to Your Workflow with InSpec (MAY 2017)
Adding Security to Your Workflow with InSpec (MAY 2017)Adding Security to Your Workflow with InSpec (MAY 2017)
Adding Security to Your Workflow with InSpec (MAY 2017)
 
Maximizing Oracle RAC Uptime
Maximizing Oracle RAC UptimeMaximizing Oracle RAC Uptime
Maximizing Oracle RAC Uptime
 
OSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi Walls
OSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi WallsOSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi Walls
OSDC 2017 | Building Security Into Your Workflow with InSpec by Mandi Walls
 
InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017
 
Adding Security to Your Workflow With InSpec - SCaLE17x
Adding Security to Your Workflow With InSpec - SCaLE17xAdding Security to Your Workflow With InSpec - SCaLE17x
Adding Security to Your Workflow With InSpec - SCaLE17x
 
System Hardening Using Ansible
System Hardening Using AnsibleSystem Hardening Using Ansible
System Hardening Using Ansible
 
How to Use OWASP Security Logging
How to Use OWASP Security LoggingHow to Use OWASP Security Logging
How to Use OWASP Security Logging
 
Windows logging cheat sheet
Windows logging cheat sheetWindows logging cheat sheet
Windows logging cheat sheet
 
OWASP_Top_Ten_Proactive_Controls_v32.pptx
OWASP_Top_Ten_Proactive_Controls_v32.pptxOWASP_Top_Ten_Proactive_Controls_v32.pptx
OWASP_Top_Ten_Proactive_Controls_v32.pptx
 
DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...
DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...
DevOpsDaysRiga 2017: Mandi Walls - Building security into your workflow with ...
 
Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)
 
2016-08-18 Red Hat Partner Security Update
2016-08-18 Red Hat Partner Security Update2016-08-18 Red Hat Partner Security Update
2016-08-18 Red Hat Partner Security Update
 

More from Shawn Wells

2017-10-10 AUSA 2017: Repeatable DCO Platforms
2017-10-10 AUSA 2017: Repeatable DCO Platforms2017-10-10 AUSA 2017: Repeatable DCO Platforms
2017-10-10 AUSA 2017: Repeatable DCO PlatformsShawn Wells
 
2017-07-12 GovLoop: New Era of Digital Security
2017-07-12 GovLoop: New Era of Digital Security2017-07-12 GovLoop: New Era of Digital Security
2017-07-12 GovLoop: New Era of Digital SecurityShawn Wells
 
2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...
2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...
2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...Shawn Wells
 
2017 02-17 rsac 2017 tech-f02
2017 02-17 rsac 2017 tech-f022017 02-17 rsac 2017 tech-f02
2017 02-17 rsac 2017 tech-f02Shawn Wells
 
2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...
2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...
2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...Shawn Wells
 
2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...
2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...
2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...Shawn Wells
 
2015-11-15 - Supercomputing 2015 - Applied Cross Domain
2015-11-15 - Supercomputing 2015 - Applied Cross Domain2015-11-15 - Supercomputing 2015 - Applied Cross Domain
2015-11-15 - Supercomputing 2015 - Applied Cross DomainShawn Wells
 
2015-10-05 Fermilabs DevOps Alone in the Dark
2015-10-05 Fermilabs DevOps Alone in the Dark2015-10-05 Fermilabs DevOps Alone in the Dark
2015-10-05 Fermilabs DevOps Alone in the DarkShawn Wells
 
2015 06-12 DevOpsDC 2015 - Consumer to Collaborator
2015 06-12 DevOpsDC 2015 - Consumer to Collaborator2015 06-12 DevOpsDC 2015 - Consumer to Collaborator
2015 06-12 DevOpsDC 2015 - Consumer to CollaboratorShawn Wells
 
2015-01-27 ssa opening remarks
2015-01-27 ssa opening remarks2015-01-27 ssa opening remarks
2015-01-27 ssa opening remarksShawn Wells
 
2014-12-16 defense news - shutdown the hackers
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackersShawn Wells
 
2014-05-08 IT Craftsmanship to IT Manufacturing
2014-05-08 IT Craftsmanship to IT Manufacturing2014-05-08 IT Craftsmanship to IT Manufacturing
2014-05-08 IT Craftsmanship to IT ManufacturingShawn Wells
 
2014-04-28 cloud security frameworks and enforcement
2014-04-28 cloud security frameworks and enforcement2014-04-28 cloud security frameworks and enforcement
2014-04-28 cloud security frameworks and enforcementShawn Wells
 
2014 04-03 xyratex event
2014 04-03 xyratex event2014 04-03 xyratex event
2014 04-03 xyratex eventShawn Wells
 
2013-08-22 NSA System Security & Management
2013-08-22 NSA System Security & Management2013-08-22 NSA System Security & Management
2013-08-22 NSA System Security & ManagementShawn Wells
 
2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner EventShawn Wells
 
2013-03-25 SCAP Workshop Workbook
2013-03-25 SCAP Workshop Workbook2013-03-25 SCAP Workshop Workbook
2013-03-25 SCAP Workshop WorkbookShawn Wells
 
2012-08-21 NRO GED Industry Day
2012-08-21 NRO GED Industry Day2012-08-21 NRO GED Industry Day
2012-08-21 NRO GED Industry DayShawn Wells
 
2012-03-15 What's New at Red Hat
2012-03-15 What's New at Red Hat2012-03-15 What's New at Red Hat
2012-03-15 What's New at Red HatShawn Wells
 
2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...
2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...
2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...Shawn Wells
 

More from Shawn Wells (20)

2017-10-10 AUSA 2017: Repeatable DCO Platforms
2017-10-10 AUSA 2017: Repeatable DCO Platforms2017-10-10 AUSA 2017: Repeatable DCO Platforms
2017-10-10 AUSA 2017: Repeatable DCO Platforms
 
2017-07-12 GovLoop: New Era of Digital Security
2017-07-12 GovLoop: New Era of Digital Security2017-07-12 GovLoop: New Era of Digital Security
2017-07-12 GovLoop: New Era of Digital Security
 
2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...
2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...
2017-07-11 GovLoop: Changing the Open Hybrid Cloud Game (Deploying OpenShift ...
 
2017 02-17 rsac 2017 tech-f02
2017 02-17 rsac 2017 tech-f022017 02-17 rsac 2017 tech-f02
2017 02-17 rsac 2017 tech-f02
 
2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...
2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...
2017-02-21 AFCEA West Building Continuous Integration & Deployment (CI/CD) Pi...
 
2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...
2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...
2016-08-24 FedInsider Webinar with Jennifer Kron - Securing Intelligence in a...
 
2015-11-15 - Supercomputing 2015 - Applied Cross Domain
2015-11-15 - Supercomputing 2015 - Applied Cross Domain2015-11-15 - Supercomputing 2015 - Applied Cross Domain
2015-11-15 - Supercomputing 2015 - Applied Cross Domain
 
2015-10-05 Fermilabs DevOps Alone in the Dark
2015-10-05 Fermilabs DevOps Alone in the Dark2015-10-05 Fermilabs DevOps Alone in the Dark
2015-10-05 Fermilabs DevOps Alone in the Dark
 
2015 06-12 DevOpsDC 2015 - Consumer to Collaborator
2015 06-12 DevOpsDC 2015 - Consumer to Collaborator2015 06-12 DevOpsDC 2015 - Consumer to Collaborator
2015 06-12 DevOpsDC 2015 - Consumer to Collaborator
 
2015-01-27 ssa opening remarks
2015-01-27 ssa opening remarks2015-01-27 ssa opening remarks
2015-01-27 ssa opening remarks
 
2014-12-16 defense news - shutdown the hackers
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackers
 
2014-05-08 IT Craftsmanship to IT Manufacturing
2014-05-08 IT Craftsmanship to IT Manufacturing2014-05-08 IT Craftsmanship to IT Manufacturing
2014-05-08 IT Craftsmanship to IT Manufacturing
 
2014-04-28 cloud security frameworks and enforcement
2014-04-28 cloud security frameworks and enforcement2014-04-28 cloud security frameworks and enforcement
2014-04-28 cloud security frameworks and enforcement
 
2014 04-03 xyratex event
2014 04-03 xyratex event2014 04-03 xyratex event
2014 04-03 xyratex event
 
2013-08-22 NSA System Security & Management
2013-08-22 NSA System Security & Management2013-08-22 NSA System Security & Management
2013-08-22 NSA System Security & Management
 
2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event
 
2013-03-25 SCAP Workshop Workbook
2013-03-25 SCAP Workshop Workbook2013-03-25 SCAP Workshop Workbook
2013-03-25 SCAP Workshop Workbook
 
2012-08-21 NRO GED Industry Day
2012-08-21 NRO GED Industry Day2012-08-21 NRO GED Industry Day
2012-08-21 NRO GED Industry Day
 
2012-03-15 What's New at Red Hat
2012-03-15 What's New at Red Hat2012-03-15 What's New at Red Hat
2012-03-15 What's New at Red Hat
 
2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...
2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...
2011-12-08 Red Hat Enterprise Virtualization for Desktops (RHEV VDI) with Cis...
 

Recently uploaded

What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
2.pdf Ejercicios de programaciĂłn competitiva
2.pdf Ejercicios de programaciĂłn competitiva2.pdf Ejercicios de programaciĂłn competitiva
2.pdf Ejercicios de programaciĂłn competitivaDiego IvĂĄn Oliveros Acosta
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 

Recently uploaded (20)

What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
2.pdf Ejercicios de programaciĂłn competitiva
2.pdf Ejercicios de programaciĂłn competitiva2.pdf Ejercicios de programaciĂłn competitiva
2.pdf Ejercicios de programaciĂłn competitiva
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 

2016 -11-18 OpenSCAP Workshop Coursebook

  • 1. ADD NAME (View > Master > Slide master) OpenSCAP Workshop Hands-on Labs to explore Scanning, Reporting, Remediation Shawn Wells shawn@redhat.com || 443-534-0130 (US EST)
  • 2. 1.What’s the latest in the Linux Security Automation space? a.Government & Commercial Initiatives b.Formal and Emerging SCAP Standards 2.What tools and content are available today? a.For enumerating (known) software vulnerabilities b.For assessing configuration
  • 3. In the next 2 hours . . . 1.Install and review compliance profiles in RHEL 7 2.Perform and interpret compliance scans, then remediate findings 3.Create custom (derived) configuration baseline with SCAP Workbench 4.RHEL 7 “Easy Button” Installations 5.Introspectively scan Linux containers 6._______________________________
  • 4. MOTIVATION RHEL5 STIG ● 587 compliance items ● Many are manual Avg Time to Configure & Verify Setting # controls Total Time per RHEL instance 1 minute * 587 9.7 hours 3 minutes * 587 29.4 hours 5 minutes * 587 48.9 hours
  • 5.
  • 6. … or a single LOC in kickstart $ oscap xccdf eval --profile rhel7-stig --remediate --report /root/scan-report.html /usr/share/xml/scap/content.xml
  • 7.
  • 8. ADD NAME (View > Master > Slide master) Intro to SCAP
  • 9. First, an SCAP Primer ● A family of specifications managed by NIST ● Really a bunch of XML schema ○ which are data formats ○ so not a protocol at all, it turns out ○ openly defined, community developed, and evolving
  • 10. First, an SCAP Primer ● Defines standardized formats ● Because you’ll get: ○ Standardized inputs (e.g. a compliance baseline) ○ Standardized outputs (e.g. compliance report) ● Provides the enterprise liberty with regard to product choices ○ Avoid vendor lock-in ○ Federal procurement language starting to require SCAP
  • 12. U.S. Gov SCAP Validation Program https://scap.nist.gov/validation/ ● Automated test suites to verify interpreters, like OpenSCAP ● Mandated by US Gov: The U.S. Office of Management and Budget has required, in the August 11, 2008, M-08-22 memorandum to Federal CIOs, that "Both industry and government information technology providers must use SCAP validated tools with FDCC Scanner capability to certify their products operate correctly with FDCC configurations and do not alter FDCC settings. Agencies will use SCAP tools to scan for both FDCC configurations and configuration deviations approved by department or agency accrediting authority. Agencies must also use these tools when monitoring use of these configurations as part of FISMA continuous monitoring." ● Required by GSA for vulnerability and configuration management products
  • 13. U.S. Gov SCAP Validation Program Also covers content (reference: NIST SP 800-70) Tier Machine Readable? Automated Format? References to Security Compliance Framework? 1 No N/A Optional 2 Yes Non-standard (proprietary, product-specific, etc) Optional 3 Yes Complete SCAP-expressed checklist that should run in SCAP-enabled products and pass through SCAPVal with no errors Optional 4 Yes Tier III + Includes low-level security enumerations that map to high-level security requirements (e.g. SP 800-53 controls) Required; must be vetted with at least one governance organization authoritative for the security compliance framework.
  • 14. ADD NAME (View > Master > Slide master) ACRONYM BREAKDOWN
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Pop Quiz! 1.What assurances do I have that CVSS scores are accurate? 2.Who assigns CCEs? 3.Who reviews the CCE to NIST mappings?
  • 22. ADD NAME (View > Master > Slide master) OPEN SOURCE CONFRONTS THE C&A CHALLENGE: OpenSCAP
  • 23. Community created portfolio of tools and content to assess systems for known vulnerabilities. https://github.com/OpenSCAP
  • 24. 2008 First commit to OpenSCAP, execution capability for SCAP on Linux
  • 25. 2008 First commit to OpenSCAP, execution capability for SCAP on Linux 2011 First commit to SCAP Security Guide, hardening guidance + policy references Colloquially, “SCAP Content”
  • 26.
  • 27. Power of the Community ● RHEL7 STIG content, rebased in RHEL 7.3, reflects . . . ○ 6,180 commits from 95 people ○ 441,055 lines of code ● OpenSCAP interpreter contains . . . ○ 6,811 commits from 74 people ○ 157,775 lines of code ● “Security Button” in RHEL7 installer ○ 6 people, 90 days, 6,806 lines of code
  • 28.
  • 29. ADD NAME (View > Master > Slide master) Keyboard Time!
  • 30. Step 1: Download SSH keys http://studentX.labs.redhatgov.io Step 2: Login $ ssh -i <key> ec2-user@studentX.labs.redhatgov.io Step 3: Sudo to root $ sudo bash
  • 31. #1: INSTALL, REVIEW PROFILES Install OpenSCAP and SCAP Content $ sudo yum -y install openscap-scanner scap-security-guide What default profiles exist? $ oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-xccdf.xml …. Profiles: pci-dss rht-ccp common stig-rhel7-server-upstream (p.s., we’re changing that super long /usr/share/xml/… path in rhel 7.4)
  • 32. #2: REVIEW HARDENING GUIDES Review manpage $ man scap-security-guide Pop Quiz: Where are the files for the HTML guides located? For the workshop: http://studentX.labs.redhatgov.io → click on “SSG Docs” we copied the files for easy viewing
  • 33. #3: REVIEW POLICY MAPPINGS In preparing for the workshop, I noticed we did not document the policy mapping tables in the man page. Fixing that for next RHEL release. So for now, they’re located under /usr/share/doc/scap-security-guide/tables For the workshop: http://studentX.labs.redhatgov.io → click on “SSG Docs” → tables View the “table-rhel7-nistrefs-ospp.html”
  • 34. #4: LOCAL SCAN, REVIEW RESULTS Perform Scan $ sudo bash # oscap xccdf eval --profile rht-ccp --results /var/www/html/scans/myscan-results.xml --report /var/www/html/scans/myscan-report.html /usr/share/xml/scap/ssg/content/ssg-rhel7-xccdf.xml Review Results http://studentX.labs.redhatgov.io/ → “Scan Results” Select “myscan-report.html”
  • 35. Quick Review 1.If we forget the OpenSCAP CLI syntax, where can we look for a reminder? 2.How do I tell what profiles are available? a)What if I want to read through the profile prior to a scan? b)Help! My security officer is asking for NIST 800-53 and DISA STIG mappings! Where are they?
  • 36. Request for Feedback Next rebase of OpenSCAP and SCAP Security Guide will be in RHEL 7.4. What additional paperwork can we ship to help make accreditation easier?
  • 37. ADD NAME (View > Master > Slide master) Remediation!
  • 38. Bash first <fix system="urn:xccdf:fix:script:ansible"> - name: Update file permissions on /var/www/ become: yes command: chmod -R 755 /var/www/ </fix>
  • 39. RHEL 7.3 + beyond Now has support for Ansible, but limited content. But we can show our upstream work (estimated RHEL 7.4 release)
  • 40. - Where do we find available profile IDs? (hint: oscap info) - Extract DoD STIG Remediations for review $ oscap xccdf generate fix --template urn:xccdf:fix:script:sh --profile <<profile ID>> --output /var/www/html/scans/remediation.sh.txt /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml $ chmod 0755 /var/www/html/scans/remediation.sh.txt Review Results http://studentX.labs.redhatgov.io/ → “Scan Results” → remediation.sh.txt #5: Review Remediation
  • 41. $ sudo bash # oscap xccdf eval --remediate --profile <<your profile>> --results scan-results.xml --report scan-report.html <<SCAP content >> “Online Remediation”
  • 42. #6: STIG your VM - Ensure you’re root $ sudo bash - The profile ID is obtuse. ‘oscap info’ to give you something to copy/paste # oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml - Here’s hoping for no bugs! # oscap xccdf eval --remediate --profile <<STIG>> --results /var/www/html/scans/stig-results.xml --report /var/www/html/scans/stig-report.html /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
  • 43. Download SCAP Workbench $ sudo yum -y install scap-workbench For extra details, https://www.open-scap.org/tools/scap-workbench/ SCAP WORKBENCH DEMO
  • 44. ADD NAME (View > Master > Slide master) We’re done! Thank you!