SlideShare a Scribd company logo
STIG Compliance and Remediation
with Ansible
April 2015
PRESENTERS
DAN SHEPHERD // MINDPOINT GROUP
daniels@mindpointgroup.com
o IT security Consultant
o Helps USG and commercial customers respond to
difficult IT security challenges
JUSTIN NEMMERS // ANSIBLE GOVERNMENT
jnemmers@ansible.com
o IT architect and (recovering) sysadmin
o 15 years of USG experience
o Wrote first STIG Kickstarts w/ DISA for RHEL 3 and 4
ORGANIZATIONS
MINDPOINT GROUP
o IT security consultancy
o Helps customers consistently meet stringent security
requirements
o Well-versed in Ansible
ANSIBLE
o Simplest way to automate IT
o Fastest growing IT automation platform
o Simple, agentless, powerful
WEBCAST GOALS
Learn about Ansible
Get started with Ansible and the STIG role
Install the STIG role
Apply role and remediate findings
Fully automate compliance with Ansible
Tower
Ansible Enterprise Automation
Simple. Agentless. Powerful.
Control. Security. Delegation.
/ Uses OpenSSH
/ No extra code to manage
/ Ready for cloud-scale
/ Uses YAML for playbooks
/ No special coding skills needed
/ Fast learning curve
/ App deployment
/ Orchestration
/ Configuration management
/ Role-Based Access Control
/ Delegation of credentials/keys
/ Audit trail for automation
/ Centralized job runs
/ Job scheduling
/ Automation dashboard
/ Push-button job execution
/ Portal mode for delegation
/ REST API for integration
Ansible
Open Source
Ansible
Tower
ANSIBLE IS COMPLETE
AUTOMATION
Ansible was written to
automate complex multi-tier
deployments, including:
o Configuration management
o App deployment
o Provisioning
o Servers & network devices
o Cloud management & VMs
o Zero-downtime rolling upgrades
o Ad-hoc patches & updates
ANSIBLE: THE LANGUAGE OF
ENTERPRISE IT
o Ansible is the first “infrastructure-as-code” that can be read and written
across IT… from sys-admins to developers to managers
o Ansible is the only automation engine that can automate the entire
application lifecycle & continuous delivery pipeline
DEV/TES
T
Q/A OPERATIONS MANAGEMENT INFRASTRUCTU
RE
Ansible Playbook
From development… to production.
HISTORY OF BASELINES
GOLD DISK
o Infrequent, time consuming, and error prone
o Inconsistent, relies on staff’s capability
o No ongoing remediation or validation
SEMI-AUTOMATION
o Shell scripts, other tooling
o Brittle. Changes really, really hurt
o No ongoing remediation or compliance
validation
And both of these options suck.
And how do you keep up with
changes?
ANSIBLE AND SECURITY
BASELINES
REPEAT
o Same process every time
REMEDIATE
o Apply STIG whenever desired
VALIDATE
o Confirm compliance
IDEMPOTENT
o Run and re-run over and over
HOW
MINDPOINT GROUP
o Trusted
o Capable
RHEL 6.x (and variants)
o Very common
DISA STIG
o Significant pain points for USG customers
o SCAP for easy validation
STIG ROLE COVERAGE
CAT 1 (HIGH): 100%
CAT 2 (MEDIUM): 91%
CAT 3 (LOW): 82%
We don’t automatically correct every finding,
as some are not always safe to run on live
systems (i.e. partitioning).
PLAYBOOK EXAMPLE
Apply-stig.yml
---
- name: Apply STIG to a RHEL 6.x System
hosts: all
sudo: yes
vars:
rhel6stig_cat1: true
rhel6stig_cat2: true
rhel6stig_cat3: true
rhel6stig_fullauto: true
roles:
- rhel6stig
CAT 1 ROLE EXAMPLE PLAY
cat1.yml
---
# CAT I Findings
- name: V-38653 High The snmpd service must not use a default
password
replace: backup=yes dest=/etc/snmp/snmpd.conf
regexp=(^com2sec.*defaults+)public replace=1{{ rhel6stig_snmp_community
}}
ignore_errors: yes
when: snmpconf_test.stat.exists
notify: restart snmpd
tags: [ 'cat1' , 'V-38653' , 'snmp' ]
- name: V-38491 High There must be no hosts.equiv file on the system
file: state=absent dest=/etc/hosts.equiv
tags: [ 'cat1' , 'V-38491' , 'hosts_equiv' ]
- name: V-38491 High There must be no .rhosts files on the system
file: state=absent dest=~{{ item }}/.rhosts
with_items: users.stdout_lines
tags: [ 'cat1' , 'V-38491' , 'rhosts' ]
GET THE STIG ROLE
$ ansible-galaxy install
https://github.com/MindPointGroup/RHEL6-STIG.git,devel
$ ansible-galaxy install -r requirements.yml
requirements.yml
- src: https://github.com/MindPointGroup/RHEL6-STIG
name: rhel6-stig
$ git clone https://github.com/MindPointGroup/RHEL6-STIG.git
APPLY STIG ROLE FROM CLI
Requires Ansible version >= 1.8
$ ansible-playbook -i hosts apply-stig.yml
CLI RESULTS
Skipping
Conditional
caused test to
be skipped (OK)
Changed Role
made a change
on the system
OK No action
required
Demo of the STIG role +
Ansible Tower
MORE ROLE INFO
INFORMATION AND STATUS
www.ansible.com/security-stig
GALAXY
galaxy.ansible.com/list#/roles/2955
GITHUB
github.com/ansible/ansible-lockdown
github.com/MindPointGroup/RHEL6-STIG
OUR COMMUNITY
FOLLOW US OR CONTRIBUTE
o github.com/ansible/ansible-lockdown
SEE SOMETHING THAT NEEDS FIXING?
o Let us know, and help fix it!
NEED HELP?
o Paying customer? support@ansible.com
o MindPoint Group Services
o groups.google.com/forum/#!forum/ansible-
project
MindPoint Group
www.mindpointgroup.com
Ansible
www.ansible.com/government
CONTACT US
Ad

More Related Content

What's hot (20)

OSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin Parm
OSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin ParmOSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin Parm
OSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin Parm
NETWAYS
 
Experiences Bringing CD to a DoD Project
Experiences Bringing CD to a DoD ProjectExperiences Bringing CD to a DoD Project
Experiences Bringing CD to a DoD Project
Gene Gotimer
 
Making AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSHMaking AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSH
Mike Villiger
 
Tests your pipeline might be missing
Tests your pipeline might be missingTests your pipeline might be missing
Tests your pipeline might be missing
Gene Gotimer
 
Meetup - An introduction to Salt
Meetup - An introduction to SaltMeetup - An introduction to Salt
Meetup - An introduction to Salt
Richard Woudenberg
 
Bootiful Microservices in a Legacy Environment: Lessons Learned
Bootiful Microservices in a Legacy Environment: Lessons LearnedBootiful Microservices in a Legacy Environment: Lessons Learned
Bootiful Microservices in a Legacy Environment: Lessons Learned
VMware Tanzu
 
OWASP DefectDojo - Open Source Security Sanity
OWASP DefectDojo - Open Source Security SanityOWASP DefectDojo - Open Source Security Sanity
OWASP DefectDojo - Open Source Security Sanity
Matt Tesauro
 
Making AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSHMaking AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSH
VMware Tanzu
 
Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...
Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...
Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...
Matt Tesauro
 
Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?
Kris Buytaert
 
Continuous Security: Using Automation to Expand Security's Reach
Continuous Security: Using Automation to Expand Security's ReachContinuous Security: Using Automation to Expand Security's Reach
Continuous Security: Using Automation to Expand Security's Reach
Matt Tesauro
 
DevSecOps Fundamentals and the Scars to Prove it.
DevSecOps Fundamentals and the Scars to Prove it.DevSecOps Fundamentals and the Scars to Prove it.
DevSecOps Fundamentals and the Scars to Prove it.
Matt Tesauro
 
Security as Code: A DevSecOps Approach
Security as Code: A DevSecOps ApproachSecurity as Code: A DevSecOps Approach
Security as Code: A DevSecOps Approach
VMware Tanzu
 
Intro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP SwitzerlandIntro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP Switzerland
Matt Tesauro
 
Principles Of Chaos Engineering - Chaos Engineering Hamburg
Principles Of Chaos Engineering - Chaos Engineering HamburgPrinciples Of Chaos Engineering - Chaos Engineering Hamburg
Principles Of Chaos Engineering - Chaos Engineering Hamburg
Nils Meder
 
Building an SRE Organization @ Squarespace
Building an SRE Organization @ SquarespaceBuilding an SRE Organization @ Squarespace
Building an SRE Organization @ Squarespace
Franklin Angulo
 
DevOpsDays Galway 2019 - SRE at Genesys
DevOpsDays Galway 2019 - SRE at GenesysDevOpsDays Galway 2019 - SRE at Genesys
DevOpsDays Galway 2019 - SRE at Genesys
Colm Hally
 
AppSec Pipelines and Event based Security
AppSec Pipelines and Event based SecurityAppSec Pipelines and Event based Security
AppSec Pipelines and Event based Security
Matt Tesauro
 
Building a Secure DevOps Pipeline - for your AppSec Program
Building a Secure DevOps Pipeline - for your AppSec Program   Building a Secure DevOps Pipeline - for your AppSec Program
Building a Secure DevOps Pipeline - for your AppSec Program
Matt Tesauro
 
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and PuppetCreate Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Gene Gotimer
 
OSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin Parm
OSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin ParmOSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin Parm
OSMC 2015: Monitoring at Spotify-When things go ping in the night by Martin Parm
NETWAYS
 
Experiences Bringing CD to a DoD Project
Experiences Bringing CD to a DoD ProjectExperiences Bringing CD to a DoD Project
Experiences Bringing CD to a DoD Project
Gene Gotimer
 
Making AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSHMaking AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSH
Mike Villiger
 
Tests your pipeline might be missing
Tests your pipeline might be missingTests your pipeline might be missing
Tests your pipeline might be missing
Gene Gotimer
 
Meetup - An introduction to Salt
Meetup - An introduction to SaltMeetup - An introduction to Salt
Meetup - An introduction to Salt
Richard Woudenberg
 
Bootiful Microservices in a Legacy Environment: Lessons Learned
Bootiful Microservices in a Legacy Environment: Lessons LearnedBootiful Microservices in a Legacy Environment: Lessons Learned
Bootiful Microservices in a Legacy Environment: Lessons Learned
VMware Tanzu
 
OWASP DefectDojo - Open Source Security Sanity
OWASP DefectDojo - Open Source Security SanityOWASP DefectDojo - Open Source Security Sanity
OWASP DefectDojo - Open Source Security Sanity
Matt Tesauro
 
Making AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSHMaking AI based monitoring a platform feature with the power of BOSH
Making AI based monitoring a platform feature with the power of BOSH
VMware Tanzu
 
Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...
Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...
Making Continuous Security a Reality with OWASP’s AppSec Pipeline - Matt Tesa...
Matt Tesauro
 
Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?Devops, Secops, Opsec, DevSec *ops *.* ?
Devops, Secops, Opsec, DevSec *ops *.* ?
Kris Buytaert
 
Continuous Security: Using Automation to Expand Security's Reach
Continuous Security: Using Automation to Expand Security's ReachContinuous Security: Using Automation to Expand Security's Reach
Continuous Security: Using Automation to Expand Security's Reach
Matt Tesauro
 
DevSecOps Fundamentals and the Scars to Prove it.
DevSecOps Fundamentals and the Scars to Prove it.DevSecOps Fundamentals and the Scars to Prove it.
DevSecOps Fundamentals and the Scars to Prove it.
Matt Tesauro
 
Security as Code: A DevSecOps Approach
Security as Code: A DevSecOps ApproachSecurity as Code: A DevSecOps Approach
Security as Code: A DevSecOps Approach
VMware Tanzu
 
Intro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP SwitzerlandIntro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP Switzerland
Matt Tesauro
 
Principles Of Chaos Engineering - Chaos Engineering Hamburg
Principles Of Chaos Engineering - Chaos Engineering HamburgPrinciples Of Chaos Engineering - Chaos Engineering Hamburg
Principles Of Chaos Engineering - Chaos Engineering Hamburg
Nils Meder
 
Building an SRE Organization @ Squarespace
Building an SRE Organization @ SquarespaceBuilding an SRE Organization @ Squarespace
Building an SRE Organization @ Squarespace
Franklin Angulo
 
DevOpsDays Galway 2019 - SRE at Genesys
DevOpsDays Galway 2019 - SRE at GenesysDevOpsDays Galway 2019 - SRE at Genesys
DevOpsDays Galway 2019 - SRE at Genesys
Colm Hally
 
AppSec Pipelines and Event based Security
AppSec Pipelines and Event based SecurityAppSec Pipelines and Event based Security
AppSec Pipelines and Event based Security
Matt Tesauro
 
Building a Secure DevOps Pipeline - for your AppSec Program
Building a Secure DevOps Pipeline - for your AppSec Program   Building a Secure DevOps Pipeline - for your AppSec Program
Building a Secure DevOps Pipeline - for your AppSec Program
Matt Tesauro
 
Create Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and PuppetCreate Disposable Test Environments with Vagrant and Puppet
Create Disposable Test Environments with Vagrant and Puppet
Gene Gotimer
 

Viewers also liked (17)

Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Edureka!
 
Puppets
PuppetsPuppets
Puppets
JEENA AEJY
 
Introduction to chef
Introduction to chefIntroduction to chef
Introduction to chef
Damith Kothalawala
 
Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)
Chef at Large
 
Chef Delivery
Chef DeliveryChef Delivery
Chef Delivery
Chef
 
Compliance Automation Workshop
Compliance Automation WorkshopCompliance Automation Workshop
Compliance Automation Workshop
Chef
 
Puppet overview
Puppet overviewPuppet overview
Puppet overview
joshbeard
 
Infrastructure Automation with Chef
Infrastructure Automation with Chef Infrastructure Automation with Chef
Infrastructure Automation with Chef
REAN Cloud
 
Ansible
AnsibleAnsible
Ansible
Vishal Yadav
 
Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015
Alex S
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to Chef
Knoldus Inc.
 
Introduction to puppet
Introduction to puppetIntroduction to puppet
Introduction to puppet
Habeeb Rahman
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
bcoca
 
3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise
Puppet
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
Robert Reiz
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
John Lynch
 
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Edureka!
 
Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)
Chef at Large
 
Chef Delivery
Chef DeliveryChef Delivery
Chef Delivery
Chef
 
Compliance Automation Workshop
Compliance Automation WorkshopCompliance Automation Workshop
Compliance Automation Workshop
Chef
 
Puppet overview
Puppet overviewPuppet overview
Puppet overview
joshbeard
 
Infrastructure Automation with Chef
Infrastructure Automation with Chef Infrastructure Automation with Chef
Infrastructure Automation with Chef
REAN Cloud
 
Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015
Alex S
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to Chef
Knoldus Inc.
 
Introduction to puppet
Introduction to puppetIntroduction to puppet
Introduction to puppet
Habeeb Rahman
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
bcoca
 
3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise
Puppet
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
Robert Reiz
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
John Lynch
 
Ad

Similar to STIG Compliance and Remediation with Ansible (20)

Why isn't infosec working? Did you turn it off and back on again?
Why isn't infosec working? Did you turn it off and back on again?Why isn't infosec working? Did you turn it off and back on again?
Why isn't infosec working? Did you turn it off and back on again?
Rob Fuller
 
Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...
Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...
Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...
MarketingArrowECS_CZ
 
Impacts of integrated safety on machine and plant concepts
Impacts of integrated safety on machine and plant conceptsImpacts of integrated safety on machine and plant concepts
Impacts of integrated safety on machine and plant concepts
Ninad Deshpande
 
App sec and quality london - may 2016 - v0.5
App sec and quality   london -  may 2016 - v0.5App sec and quality   london -  may 2016 - v0.5
App sec and quality london - may 2016 - v0.5
Dinis Cruz
 
Common NonStop security hacks and how to avoid them
Common NonStop security hacks and how to avoid themCommon NonStop security hacks and how to avoid them
Common NonStop security hacks and how to avoid them
Greg Swedosh
 
Continues Deployment - Tech Talk week
Continues Deployment - Tech Talk weekContinues Deployment - Tech Talk week
Continues Deployment - Tech Talk week
rantav
 
Normal accidents and outpatient surgeries
Normal accidents and outpatient surgeriesNormal accidents and outpatient surgeries
Normal accidents and outpatient surgeries
Jonathan Creasy
 
Security in the Context of Business Processes: Thoughts from a System Vendor'...
Security in the Context of Business Processes: Thoughts from a System Vendor'...Security in the Context of Business Processes: Thoughts from a System Vendor'...
Security in the Context of Business Processes: Thoughts from a System Vendor'...
Achim D. Brucker
 
How to Manage the Risk of your Polyglot Environments
How to Manage the Risk of your Polyglot EnvironmentsHow to Manage the Risk of your Polyglot Environments
How to Manage the Risk of your Polyglot Environments
DevOps.com
 
SplunkSummit 2015 - ES Hands On Workshop
SplunkSummit 2015 - ES Hands On Workshop SplunkSummit 2015 - ES Hands On Workshop
SplunkSummit 2015 - ES Hands On Workshop
Splunk
 
Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)
Neil Thompson
 
DFMEA: Reduce Design Errors, Time and Cost
DFMEA: Reduce Design Errors, Time and CostDFMEA: Reduce Design Errors, Time and Cost
DFMEA: Reduce Design Errors, Time and Cost
Ricardo Gonzalez Luna
 
Scaling DevOps Adoption
Scaling DevOps AdoptionScaling DevOps Adoption
Scaling DevOps Adoption
Mark Rendell
 
Using language workbenches and domain-specific languages for safety-critical ...
Using language workbenches and domain-specific languages for safety-critical ...Using language workbenches and domain-specific languages for safety-critical ...
Using language workbenches and domain-specific languages for safety-critical ...
Markus Voelter
 
Common Sense Guide to Mitigating Insider Threats
Common Sense Guide to Mitigating Insider ThreatsCommon Sense Guide to Mitigating Insider Threats
Common Sense Guide to Mitigating Insider Threats
Sammie Gillaspie
 
Technology for safety
Technology for safetyTechnology for safety
Technology for safety
Edgar Cortes
 
Technology For Safety
Technology For SafetyTechnology For Safety
Technology For Safety
Edgar Cortes
 
Making Security Agile - Oleg Gryb
Making Security Agile - Oleg GrybMaking Security Agile - Oleg Gryb
Making Security Agile - Oleg Gryb
SeniorStoryteller
 
The Final Frontier, Automating Dynamic Security Testing
The Final Frontier, Automating Dynamic Security TestingThe Final Frontier, Automating Dynamic Security Testing
The Final Frontier, Automating Dynamic Security Testing
Matt Tesauro
 
safety-instrumented-systems for cbemical
safety-instrumented-systems for cbemicalsafety-instrumented-systems for cbemical
safety-instrumented-systems for cbemical
Josh Jay
 
Why isn't infosec working? Did you turn it off and back on again?
Why isn't infosec working? Did you turn it off and back on again?Why isn't infosec working? Did you turn it off and back on again?
Why isn't infosec working? Did you turn it off and back on again?
Rob Fuller
 
Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...
Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...
Thin Client and VDI Evolution: Igel Technology and the bright future of IT En...
MarketingArrowECS_CZ
 
Impacts of integrated safety on machine and plant concepts
Impacts of integrated safety on machine and plant conceptsImpacts of integrated safety on machine and plant concepts
Impacts of integrated safety on machine and plant concepts
Ninad Deshpande
 
App sec and quality london - may 2016 - v0.5
App sec and quality   london -  may 2016 - v0.5App sec and quality   london -  may 2016 - v0.5
App sec and quality london - may 2016 - v0.5
Dinis Cruz
 
Common NonStop security hacks and how to avoid them
Common NonStop security hacks and how to avoid themCommon NonStop security hacks and how to avoid them
Common NonStop security hacks and how to avoid them
Greg Swedosh
 
Continues Deployment - Tech Talk week
Continues Deployment - Tech Talk weekContinues Deployment - Tech Talk week
Continues Deployment - Tech Talk week
rantav
 
Normal accidents and outpatient surgeries
Normal accidents and outpatient surgeriesNormal accidents and outpatient surgeries
Normal accidents and outpatient surgeries
Jonathan Creasy
 
Security in the Context of Business Processes: Thoughts from a System Vendor'...
Security in the Context of Business Processes: Thoughts from a System Vendor'...Security in the Context of Business Processes: Thoughts from a System Vendor'...
Security in the Context of Business Processes: Thoughts from a System Vendor'...
Achim D. Brucker
 
How to Manage the Risk of your Polyglot Environments
How to Manage the Risk of your Polyglot EnvironmentsHow to Manage the Risk of your Polyglot Environments
How to Manage the Risk of your Polyglot Environments
DevOps.com
 
SplunkSummit 2015 - ES Hands On Workshop
SplunkSummit 2015 - ES Hands On Workshop SplunkSummit 2015 - ES Hands On Workshop
SplunkSummit 2015 - ES Hands On Workshop
Splunk
 
Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)
Neil Thompson
 
DFMEA: Reduce Design Errors, Time and Cost
DFMEA: Reduce Design Errors, Time and CostDFMEA: Reduce Design Errors, Time and Cost
DFMEA: Reduce Design Errors, Time and Cost
Ricardo Gonzalez Luna
 
Scaling DevOps Adoption
Scaling DevOps AdoptionScaling DevOps Adoption
Scaling DevOps Adoption
Mark Rendell
 
Using language workbenches and domain-specific languages for safety-critical ...
Using language workbenches and domain-specific languages for safety-critical ...Using language workbenches and domain-specific languages for safety-critical ...
Using language workbenches and domain-specific languages for safety-critical ...
Markus Voelter
 
Common Sense Guide to Mitigating Insider Threats
Common Sense Guide to Mitigating Insider ThreatsCommon Sense Guide to Mitigating Insider Threats
Common Sense Guide to Mitigating Insider Threats
Sammie Gillaspie
 
Technology for safety
Technology for safetyTechnology for safety
Technology for safety
Edgar Cortes
 
Technology For Safety
Technology For SafetyTechnology For Safety
Technology For Safety
Edgar Cortes
 
Making Security Agile - Oleg Gryb
Making Security Agile - Oleg GrybMaking Security Agile - Oleg Gryb
Making Security Agile - Oleg Gryb
SeniorStoryteller
 
The Final Frontier, Automating Dynamic Security Testing
The Final Frontier, Automating Dynamic Security TestingThe Final Frontier, Automating Dynamic Security Testing
The Final Frontier, Automating Dynamic Security Testing
Matt Tesauro
 
safety-instrumented-systems for cbemical
safety-instrumented-systems for cbemicalsafety-instrumented-systems for cbemical
safety-instrumented-systems for cbemical
Josh Jay
 
Ad

Recently uploaded (20)

DNV Energy Industry Insights 2025_Main_Report
DNV Energy Industry Insights 2025_Main_ReportDNV Energy Industry Insights 2025_Main_Report
DNV Energy Industry Insights 2025_Main_Report
Energy for One World
 
Item # 1a -- April 14, 2025 CCM Minutes
Item # 1a --  April 14, 2025 CCM MinutesItem # 1a --  April 14, 2025 CCM Minutes
Item # 1a -- April 14, 2025 CCM Minutes
ahcitycouncil
 
ASI Data Insights for Incidents Submitted in 2024
ASI Data Insights for Incidents Submitted in 2024ASI Data Insights for Incidents Submitted in 2024
ASI Data Insights for Incidents Submitted in 2024
AssuranceServicesInt
 
西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买
西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买
西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买
Taqyea
 
Rural Reskilling and upskilling for Social Enterprises Report
Rural Reskilling and upskilling for Social Enterprises ReportRural Reskilling and upskilling for Social Enterprises Report
Rural Reskilling and upskilling for Social Enterprises Report
Wazo Coop
 
The Pell Grant Program: Funding and Current Shortfall
The Pell Grant Program: Funding and Current ShortfallThe Pell Grant Program: Funding and Current Shortfall
The Pell Grant Program: Funding and Current Shortfall
Congressional Budget Office
 
Free education for underprivileged children by Vikash NGO
Free education for underprivileged children by Vikash NGOFree education for underprivileged children by Vikash NGO
Free education for underprivileged children by Vikash NGO
Vikash NGO
 
Nationalism in India one shot revision_230921_194506.pdf
Nationalism in India one shot revision_230921_194506.pdfNationalism in India one shot revision_230921_194506.pdf
Nationalism in India one shot revision_230921_194506.pdf
raghuwanshineetu20
 
Results-Based Accountability 101 Clear Impact and Mark Friedman
Results-Based Accountability 101 Clear Impact and Mark FriedmanResults-Based Accountability 101 Clear Impact and Mark Friedman
Results-Based Accountability 101 Clear Impact and Mark Friedman
kara382677
 
Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...
Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...
Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...
Energy for One World
 
2025 Small Grants Fund Applicant Webinar
2025 Small Grants Fund Applicant Webinar2025 Small Grants Fund Applicant Webinar
2025 Small Grants Fund Applicant Webinar
Global Forest Watch
 
Coal Mine Methane - Expert Exchange series
Coal Mine Methane - Expert Exchange seriesCoal Mine Methane - Expert Exchange series
Coal Mine Methane - Expert Exchange series
Just Energy Transition in Coal Regions Knowledge Hub
 
Item # 6 - The Argyle Final Design Review
Item # 6 - The Argyle Final Design ReviewItem # 6 - The Argyle Final Design Review
Item # 6 - The Argyle Final Design Review
ahcitycouncil
 
AHMR volume 11 number 1 Jan-Apr 2025 ONLINE.pdf
AHMR volume 11 number 1 Jan-Apr 2025 ONLINE.pdfAHMR volume 11 number 1 Jan-Apr 2025 ONLINE.pdf
AHMR volume 11 number 1 Jan-Apr 2025 ONLINE.pdf
Scalabrini Institute for Human Mobility in Africa
 
Fiscal Note H2692, M'Naghten Rule Impact
Fiscal Note H2692, M'Naghten Rule  ImpactFiscal Note H2692, M'Naghten Rule  Impact
Fiscal Note H2692, M'Naghten Rule Impact
Keri
 
Divya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptx
Divya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptxDivya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptx
Divya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptx
JayeshTaneja1
 
DFARS Part 219 - Small Business Programs
DFARS Part 219 - Small Business ProgramsDFARS Part 219 - Small Business Programs
DFARS Part 219 - Small Business Programs
JSchaus & Associates
 
Item # 4-5 Argyle Specific Use Permit (SUP)
Item # 4-5 Argyle Specific Use Permit (SUP)Item # 4-5 Argyle Specific Use Permit (SUP)
Item # 4-5 Argyle Specific Use Permit (SUP)
ahcitycouncil
 
download form2024.pdf fvgfd cbgdd vcvgfddc
download form2024.pdf fvgfd cbgdd vcvgfddcdownload form2024.pdf fvgfd cbgdd vcvgfddc
download form2024.pdf fvgfd cbgdd vcvgfddc
armyssc2002
 
translagin 1 hdhfish osdhfowhfewhfehfhihvihgieg
translagin 1 hdhfish osdhfowhfewhfehfhihvihgiegtranslagin 1 hdhfish osdhfowhfewhfehfhihvihgieg
translagin 1 hdhfish osdhfowhfewhfehfhihvihgieg
SatendraKumarVerma
 
DNV Energy Industry Insights 2025_Main_Report
DNV Energy Industry Insights 2025_Main_ReportDNV Energy Industry Insights 2025_Main_Report
DNV Energy Industry Insights 2025_Main_Report
Energy for One World
 
Item # 1a -- April 14, 2025 CCM Minutes
Item # 1a --  April 14, 2025 CCM MinutesItem # 1a --  April 14, 2025 CCM Minutes
Item # 1a -- April 14, 2025 CCM Minutes
ahcitycouncil
 
ASI Data Insights for Incidents Submitted in 2024
ASI Data Insights for Incidents Submitted in 2024ASI Data Insights for Incidents Submitted in 2024
ASI Data Insights for Incidents Submitted in 2024
AssuranceServicesInt
 
西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买
西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买
西班牙卢森堡商学院毕业证书文凭定制LSB成绩单购买
Taqyea
 
Rural Reskilling and upskilling for Social Enterprises Report
Rural Reskilling and upskilling for Social Enterprises ReportRural Reskilling and upskilling for Social Enterprises Report
Rural Reskilling and upskilling for Social Enterprises Report
Wazo Coop
 
The Pell Grant Program: Funding and Current Shortfall
The Pell Grant Program: Funding and Current ShortfallThe Pell Grant Program: Funding and Current Shortfall
The Pell Grant Program: Funding and Current Shortfall
Congressional Budget Office
 
Free education for underprivileged children by Vikash NGO
Free education for underprivileged children by Vikash NGOFree education for underprivileged children by Vikash NGO
Free education for underprivileged children by Vikash NGO
Vikash NGO
 
Nationalism in India one shot revision_230921_194506.pdf
Nationalism in India one shot revision_230921_194506.pdfNationalism in India one shot revision_230921_194506.pdf
Nationalism in India one shot revision_230921_194506.pdf
raghuwanshineetu20
 
Results-Based Accountability 101 Clear Impact and Mark Friedman
Results-Based Accountability 101 Clear Impact and Mark FriedmanResults-Based Accountability 101 Clear Impact and Mark Friedman
Results-Based Accountability 101 Clear Impact and Mark Friedman
kara382677
 
Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...
Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...
Message given by the Late Pope Francis-to the Curia - and in 2014 on the impo...
Energy for One World
 
2025 Small Grants Fund Applicant Webinar
2025 Small Grants Fund Applicant Webinar2025 Small Grants Fund Applicant Webinar
2025 Small Grants Fund Applicant Webinar
Global Forest Watch
 
Item # 6 - The Argyle Final Design Review
Item # 6 - The Argyle Final Design ReviewItem # 6 - The Argyle Final Design Review
Item # 6 - The Argyle Final Design Review
ahcitycouncil
 
Fiscal Note H2692, M'Naghten Rule Impact
Fiscal Note H2692, M'Naghten Rule  ImpactFiscal Note H2692, M'Naghten Rule  Impact
Fiscal Note H2692, M'Naghten Rule Impact
Keri
 
Divya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptx
Divya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptxDivya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptx
Divya seminarl,,,,,,,,,,,,,,,',,,,,, 5.pptx
JayeshTaneja1
 
DFARS Part 219 - Small Business Programs
DFARS Part 219 - Small Business ProgramsDFARS Part 219 - Small Business Programs
DFARS Part 219 - Small Business Programs
JSchaus & Associates
 
Item # 4-5 Argyle Specific Use Permit (SUP)
Item # 4-5 Argyle Specific Use Permit (SUP)Item # 4-5 Argyle Specific Use Permit (SUP)
Item # 4-5 Argyle Specific Use Permit (SUP)
ahcitycouncil
 
download form2024.pdf fvgfd cbgdd vcvgfddc
download form2024.pdf fvgfd cbgdd vcvgfddcdownload form2024.pdf fvgfd cbgdd vcvgfddc
download form2024.pdf fvgfd cbgdd vcvgfddc
armyssc2002
 
translagin 1 hdhfish osdhfowhfewhfehfhihvihgieg
translagin 1 hdhfish osdhfowhfewhfehfhihvihgiegtranslagin 1 hdhfish osdhfowhfewhfehfhihvihgieg
translagin 1 hdhfish osdhfowhfewhfehfhihvihgieg
SatendraKumarVerma
 

STIG Compliance and Remediation with Ansible

  • 1. STIG Compliance and Remediation with Ansible April 2015
  • 2. PRESENTERS DAN SHEPHERD // MINDPOINT GROUP [email protected] o IT security Consultant o Helps USG and commercial customers respond to difficult IT security challenges JUSTIN NEMMERS // ANSIBLE GOVERNMENT [email protected] o IT architect and (recovering) sysadmin o 15 years of USG experience o Wrote first STIG Kickstarts w/ DISA for RHEL 3 and 4
  • 3. ORGANIZATIONS MINDPOINT GROUP o IT security consultancy o Helps customers consistently meet stringent security requirements o Well-versed in Ansible ANSIBLE o Simplest way to automate IT o Fastest growing IT automation platform o Simple, agentless, powerful
  • 4. WEBCAST GOALS Learn about Ansible Get started with Ansible and the STIG role Install the STIG role Apply role and remediate findings Fully automate compliance with Ansible Tower
  • 5. Ansible Enterprise Automation Simple. Agentless. Powerful. Control. Security. Delegation. / Uses OpenSSH / No extra code to manage / Ready for cloud-scale / Uses YAML for playbooks / No special coding skills needed / Fast learning curve / App deployment / Orchestration / Configuration management / Role-Based Access Control / Delegation of credentials/keys / Audit trail for automation / Centralized job runs / Job scheduling / Automation dashboard / Push-button job execution / Portal mode for delegation / REST API for integration Ansible Open Source Ansible Tower
  • 6. ANSIBLE IS COMPLETE AUTOMATION Ansible was written to automate complex multi-tier deployments, including: o Configuration management o App deployment o Provisioning o Servers & network devices o Cloud management & VMs o Zero-downtime rolling upgrades o Ad-hoc patches & updates
  • 7. ANSIBLE: THE LANGUAGE OF ENTERPRISE IT o Ansible is the first “infrastructure-as-code” that can be read and written across IT… from sys-admins to developers to managers o Ansible is the only automation engine that can automate the entire application lifecycle & continuous delivery pipeline DEV/TES T Q/A OPERATIONS MANAGEMENT INFRASTRUCTU RE Ansible Playbook From development… to production.
  • 8. HISTORY OF BASELINES GOLD DISK o Infrequent, time consuming, and error prone o Inconsistent, relies on staff’s capability o No ongoing remediation or validation SEMI-AUTOMATION o Shell scripts, other tooling o Brittle. Changes really, really hurt o No ongoing remediation or compliance validation
  • 9. And both of these options suck. And how do you keep up with changes?
  • 10. ANSIBLE AND SECURITY BASELINES REPEAT o Same process every time REMEDIATE o Apply STIG whenever desired VALIDATE o Confirm compliance IDEMPOTENT o Run and re-run over and over
  • 11. HOW MINDPOINT GROUP o Trusted o Capable RHEL 6.x (and variants) o Very common DISA STIG o Significant pain points for USG customers o SCAP for easy validation
  • 12. STIG ROLE COVERAGE CAT 1 (HIGH): 100% CAT 2 (MEDIUM): 91% CAT 3 (LOW): 82% We don’t automatically correct every finding, as some are not always safe to run on live systems (i.e. partitioning).
  • 13. PLAYBOOK EXAMPLE Apply-stig.yml --- - name: Apply STIG to a RHEL 6.x System hosts: all sudo: yes vars: rhel6stig_cat1: true rhel6stig_cat2: true rhel6stig_cat3: true rhel6stig_fullauto: true roles: - rhel6stig
  • 14. CAT 1 ROLE EXAMPLE PLAY cat1.yml --- # CAT I Findings - name: V-38653 High The snmpd service must not use a default password replace: backup=yes dest=/etc/snmp/snmpd.conf regexp=(^com2sec.*defaults+)public replace=1{{ rhel6stig_snmp_community }} ignore_errors: yes when: snmpconf_test.stat.exists notify: restart snmpd tags: [ 'cat1' , 'V-38653' , 'snmp' ] - name: V-38491 High There must be no hosts.equiv file on the system file: state=absent dest=/etc/hosts.equiv tags: [ 'cat1' , 'V-38491' , 'hosts_equiv' ] - name: V-38491 High There must be no .rhosts files on the system file: state=absent dest=~{{ item }}/.rhosts with_items: users.stdout_lines tags: [ 'cat1' , 'V-38491' , 'rhosts' ]
  • 15. GET THE STIG ROLE $ ansible-galaxy install https://github.com/MindPointGroup/RHEL6-STIG.git,devel $ ansible-galaxy install -r requirements.yml requirements.yml - src: https://github.com/MindPointGroup/RHEL6-STIG name: rhel6-stig $ git clone https://github.com/MindPointGroup/RHEL6-STIG.git
  • 16. APPLY STIG ROLE FROM CLI Requires Ansible version >= 1.8 $ ansible-playbook -i hosts apply-stig.yml
  • 17. CLI RESULTS Skipping Conditional caused test to be skipped (OK) Changed Role made a change on the system OK No action required
  • 18. Demo of the STIG role + Ansible Tower
  • 19. MORE ROLE INFO INFORMATION AND STATUS www.ansible.com/security-stig GALAXY galaxy.ansible.com/list#/roles/2955 GITHUB github.com/ansible/ansible-lockdown github.com/MindPointGroup/RHEL6-STIG
  • 20. OUR COMMUNITY FOLLOW US OR CONTRIBUTE o github.com/ansible/ansible-lockdown SEE SOMETHING THAT NEEDS FIXING? o Let us know, and help fix it! NEED HELP? o Paying customer? [email protected] o MindPoint Group Services o groups.google.com/forum/#!forum/ansible- project

Editor's Notes

  • #2: Mix of too high level for an actual Ansible user Targeted for High level VP of IT Might be too detailed for Ventures