Continuous security audit automation with Spacewalk, Puppet, Mcollective and SCAP



Similar documents
How To Use A Policy Auditor (Macafee) To Check For Security Issues

BMC Client Management - SCAP Implementation Statement. Version 12.0

Qualys PC/SCAP Auditor

Security compliance automation with Red Hat Satellite

Secure Content Automation Protocol (SCAP): How it is increasingly used to automate enterprise security management activities

System Management with Spacewalk

Managing your Red Hat Enterprise Linux guests with RHN Satellite

Secstate: Flexible Lockdown, Auditing, and Remediation

Federal Desktop Core Configuration (FDCC)

System management with Spacewalk

SUSE Manager. A Comprehensive Linux Server Management the Linux Way. Name. Title

System management with Spacewalk

FDCC & SCAP Content Challenges. Kent Landfield Director, Risk and Compliance Security Research McAfee Labs

Open Source Datacenter Conference 2011 System Management with RHN Satellite. Dirk Herrmann, Solution Architect, Red Hat

TUT19344 Managing RH/CentOS with SUSE Manager

IBM Endpoint Manager Version 9.1. Patch Management for Red Hat Enterprise Linux User's Guide

How To Monitor Your Entire It Environment

Red Hat Network Satellite (On System z) 18-JUNE CAVMEN Meeting

Security Content Automation Protocol for Governance, Risk, Compliance, and Audit

Develop a process for applying updates to systems, including verifying properties of the update. Create File Systems

McAfee Application Control / Change Control Administration Intel Security Education Services Administration Course

The Center for Internet Security. CIS Configuration Assessment Tool CIS-CAT

Measurably reducing risk through collaboration, consensus & practical security management CIS Security Benchmarks 1

Red Hat Satellite Management and automation of your Red Hat Enterprise Linux environment

Red Hat Network Satellite Management and automation of your Red Hat Enterprise Linux environment

The Center for Internet Security. Center for Internet Security Configuration Assessment Tool CIS-CAT

Pro Puppet. Jeffrey McCune. James TurnbuII. Apress* m in

ZENworks 11 Support Pack 4 Management Zone Settings Reference. May 2016

SCAP for VoIP Automating Configuration Compliance. 6 th Annual IT Security Automation Conference

Nipper Studio Beginner s Guide

Red Hat Network Satellite in a Nutshell...

IBM Endpoint Manager Version 9.2. Patch Management for SUSE Linux Enterprise User's Guide

Symantec Control Compliance Suite Standards Manager

Of Pets and Cattle and Hearts

Applying the Continuous Monitoring Technical Reference Model to the Asset, Configuration, and Vulnerability Management Domains (DRAFT)

Secunia Vulnerability Intelligence Manager

Measurably reducing risk through collaboration, consensus & practical security management CIS Security Benchmarks 1

WHAT S NEW IN SAS 9.4

Towards security management in the cloud utilizing SECaaS

System Management with RHN Satellite

CloudPassage Halo Technical Overview

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Building and Managing a Standard Operating Environment

Introduction to Mobile Access Gateway Installation

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Scanless Vulnerability Assessment. A Next-Generation Approach to Vulnerability Management

Technical. Overview. ~ a ~ irods version 4.x

Software Vulnerability Assessment

CONQUERING COMPLIANCE ISSUES WITH RHN SATELLITE AND TENABLE NESSUS SECURITY

Configuration Management Evolution at CERN. Gavin

Seamless integration Connect our solution to your business applications thanks to our open architecture

PKI Made Easy: Managing Certificates with Dogtag. Ade Lee Sr. Software Engineer Red Hat, Inc

How To Achieve Pca Compliance With Redhat Enterprise Linux

without the fixed perimeters of legacy security.

CloudPassage Halo Technical Overview

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

An Approach to Vulnerability Management, Configuration Management, and Technical Policy Compliance

Virtualization Management the ovirt way

An Enterprise Continuous Monitoring Technical Reference Architecture

NetIQ Identity Manager Setup Guide

SCAP Compliance Checker Version 3.1 for Windows February 12, 2012

Requirements Specifications for: The Management Action Record System (MARS) for the African Development Bank

Installing and Administering VMware vsphere Update Manager

Red Hat Subscription Management All Subscription Docs Quick Registration for RHEL

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

Archiving File Data with Snap Enterprise Data Replicator (Snap EDR): Technical Overview

PaaS solutions evaluation

SOFTWARE TESTING TRAINING COURSES CONTENTS

User Guide for VMware Adapter for SAP LVM VERSION 1.2

AppSentry Application and Database Security Auditing

McAfee Policy Auditor software

Introduction to Highly Available NFS Server on scale out storage systems based on GlusterFS

Automated Data Ingestion. Bernhard Disselhoff Enterprise Sales Engineer

McAfee Web Gateway Administration Intel Security Education Services Administration Course Training

GFI LANguard 9.0 ReportPack. Manual. By GFI Software Ltd.

Cloud Storage Backup for Storage as a Service with AT&T

ARF, ARCAT, and Summary Results. Lt Col Joseph L. Wolfkiel

GFI LANguard 9.0 ReportPack. Manual. By GFI Software Ltd.

Enhancing Web Publishing with Digital Asset Management - Using Open Text Artesia DAM to enhance your Open Text WCMS (Red Dot) web sites

A Survey Study on Monitoring Service for Grid

LDAPCON Sébastien Bahloul

IBM InfoSphere Guardium

ORACLE OPS CENTER: PROVISIONING AND PATCH AUTOMATION PACK

SnapLogic Sidekick Guide

Phoronix Test Suite v5.8.0 (Belev)

PAKITI Patching Status System

McAfee Web Gateway 7.4.1

Siebel Application Deployment Manager Guide. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013

Jitterbit Technical Overview : Salesforce

Adobe Systems Incorporated

BMC BladeLogic Client Automation Installation Guide

Ansible in Depth WHITEPAPER. ansible.com

Content Distribution Management

Centralized Orchestration and Performance Monitoring

Oracle Linux Overview. Presented by: Anuj Verma Title: Senior Pre-Sales Consultant

McAfee Policy Auditor 6.0 software Product Guide for epolicy Orchestrator 4.6

Transcription:

Continuous security audit automation with Spacewalk, Puppet, Mcollective and SCAP Vasileios A. Baousis (Ph.D) Network Applications Team Slide 1

Agenda Introduction Background - SCAP - Puppet &Mcollective - Spacewalk System setup Reports and use of the output Questions Slide 2

Introduction Why we should perform Continuous security audit? Why to automate this process? Manual? No way. Security should be considered and implemented for the entire lifecycle of a system. The same applies for the auditing of a system but most of the times it is neglected. Security (mis)configuration drifts, missing important package patches are identified when it is tooooooooooooooooooo late. Continuous auditing/reporting in a consistent & automated manner. Work in progress Slide 3

Security Content Automation Protocol (SCAP) A standardized compliance checking solution for enterprise-level Linux systems. It is a line of specifications maintained by the NIST for system security. OpenSCAP implements the SCAP specifications, and is an auditing tool that utilizes the Extensible Configuration Checklist Description Format (XCCDF). XCCDF is a standard way of expressing checklist content and defines security checklists &combines with other specifications to create a SCAP-expressed checklist that can be processed by SCAP-validated products. These are: Common Platform Enumeration (CPE), Common Configuration Enumeration(CCE), Open Vulnerability and Assessment Language (OVAL). OpenSCAP a. verifies the presence of patches by using content produced by the distro distributors b. checks system security configuration settings and c. examines systems for signs of compromise/misconfiguration by using rules based on standards and specifications. Slide 4

Oscap command line oscap -h oscap OpenSCAP command-line tool Usage: oscap [options] module operation [operation-options-and-arguments] oscap options: -h --help - show this help -q --quiet - quiet mode -V --version - print info about supported SCAP versions Commands: ds oval xccdf cvss cpe cve info - DataStream utilities - Open Vulnerability and Assessment Language - extensible Configuration Checklist Description Format - Common Vulnerability Scoring System - Common Platform Enumeration - Common Vulnerabilities and Exposures - info module oscap ds -h oscap -> ds DataStream utilities Usage: oscap [options] ds command Datastreams: an archive of interlinked SCAP content (XCCDF,OVAL,CPE).Source and Result DataStreams Commands: sds-split sds-compose sds-add sds-validate rds-split rds-create rds-validate - Split given SourceDataStream into separate files - Compose SourceDataStream from given XCCDF - Add a component to the existing SourceDataStream - Validate given SourceDataStream - Splits a ResultDataStream. Creating source datastream (from report-request) and report in target directory. - Create a ResultDataStream from given SourceDataStream, XCCDF results and one or more OVAL results - Validate given ResultDataStream Slide 5

Oscap command line oscap -> xccdf extensible Configuration Checklist Description Format Usage: oscap [options] xccdf command [command-specific-options] Commands: eval - Perform evaluation driven by XCCDF file and use OVAL as checking engine resolve - Resolve an XCCDF document validate - Validate XCCDF XML content validate-xml - Validate XCCDF XML content export-oval-variables - Export XCCDF values as OVAL external-variables document(s) generate - Convert XCCDF Benchmark to other formats remediate - Perform remediation driven by XCCDF TestResult file or ARF. oscap -> xccdf -> eval Perform evaluation driven by XCCDF file and use OVAL as checking engine Usage: oscap [options] xccdf eval [options] INPUT_FILE [oval-definitions-files] INPUT_FILE - XCCDF file or a source data stream file Options: --profile <name> - The name of Profile to be evaluated. --tailoring-file <file> - Use given XCCDF Tailoring file. --tailoring-id <component-id> - Use given DS component as XCCDF Tailoring file. --cpe <name> - Use given CPE dictionary or language (autodetected).. oscap xccdf eval --profile MAC-1_Public --cpe /usr/share/openscap/redhat_simple/u_redhat_6_v1r4_benchmark-cpe-dictionary.xml /usr/share/openscap/redhat_simple/u_redhat_6_v1r4_benchmark-xccdf.xml Slide 6

Oscap command line oscap oval -h oscap -> oval Open Vulnerability and Assessment Language oscap oval collect com.redhat.rhsa-all.xml Usage: oscap [options] oval command Commands: collect eval analyse validate validate-xml generate list-probes - Probe the system and create system characteristics - Probe the system and evaluate definitions from OVAL Definition file - Evaluate provided system characteristics file - Validate OVAL XML content - Validate OVAL XML content - Convert an OVAL file to other formats - List supported object types (i.e. probes) oscap -> oval -> eval Probe the system and evaluate definitions from OVAL Definition file Usage: oscap [options] oval eval [options] oval-definitions.xml Options: --id <definition-id> - ID of the definition we want to evaluate. --variables <file> - Provide external variables expected by OVAL Definitions. --directives <file> - Use OVAL Directives content to specify desired results content. --results <file> - Write OVAL Results into file. --report <file> - Create human readable (HTML) report from OVAL Results. --skip-valid - Skip validation. --datastream-id <id> - ID of the datastream in the collection to use. (only applicable for source datastreams) --oval-id <id> - ID of the OVAL component ref in the datastream to use. (only applicable for source datastreams) --probe-root <dir> - Change the root directory before scanning the system. Slide 7

Oscap command line oscap cvss -h oscap -> cvss Common Vulnerability Scoring System Usage: oscap [options] cvss command Commands: score describe - CVSS score from a CVSS vector - Describe a CVSS vector oscap cpe -h oscap -> cpe Common Platform Enumeration Usage: oscap [options] cpe command Commands: match check validate validate-xml - Match CPE name against provided dictionary - Check if CPE name is valid - Validate CPE Dictionary content - Validate CPE Dictionary content Slide 8

Puppet IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to orchestration and reporting. Easily automate repetitive tasks Quickly deploy critical applications, Proactively manage change, scaling from 10s of servers to 1000s, on-premise or in the cloud. Slide 9

Puppet typical workflow Puppet Interface Version Control Repository Puppet master 2. Perform checkout 1. Commit changes 3. Apply changes 4. Report back the performed changes SSL Nodes Puppet agent Slide 10

Puppet interface Slide 11

Mcollective 1/2 The Marionette Collective MCollective is a framework to build server orchestration and parallel job execution systems Uses Publish/Subscribe Middleware and real time discovery of network resources using meta-data and not hostnames. Delivering a scalable and fast parallel execution environment. Slide 12

Mcollective 2/2 Use a broadcast paradigm for request distribution. - All servers get all requests at the same time, requests have filters attached and only servers matching the filter will act on requests. - There is no central asset database to go out of sync, the network is the only source of truth. Supports complex naming conventions for hostnames as a means of identity. Meta data comes from Puppet, Facter or custom plugins. CLI tools to call remote agents. Ability to write custom reports about your infrastructure. Allows you to write simple RPC style agents, clients and Web UIs in an easy to understand language - Ruby. Include Authentication, Authorization and Auditing (AAA) of requests. Slide 13

MCO in action Slide 14

MCO in action Slide 15

MCO in action Slide 16

MCO in action Slide 17

What is Spacewalk (1/2) Open source Linux systems management software from RH (under the terms of the GNU General Public License version 2) Satellite and Novell SUSE Manager commercial products are identical. Manages software content updates for Red Hat derived distributions (Fedora, CentOS, SL and SUSE). You can: - stage software content through different environments, - managing the deployment of updates to systems and - allowing you to view at which update level any given system is at across your deployment. Provides central web interface allowing viewing of systems, their associated software update status, and initiating update actions... Slide 18

What is Spacewalk (2/2) Provides provisioning/monitoring capabilities, allowing: - Inventory your systems (hardware and software information) - Install and update software on your systems -Collect and distribute your custom software packages into manageable groups -Provision (kickstart) your systems -Manage and deploy configuration files to your systems -Monitor your systems -Provision virtual guests -Start/stop/configure virtual guests -Distribute content across multiple geographical sites in an efficient manner Multiple Spacewalk Proxies can connect to a central Spacewalk server and cache and distribute content from the Spacewalk Server in various geographical locations. More on spacewalk.redhat.com Slide 19

Spacewalk architecture Three tier architecture 1. Presentation tier : web UI, command line clients, and XML-RPC clients 2. Logic tier :Spread across the four languages: Java, Perl, python, and PL/SQL. 3. Data tier =>RDBMS :Oracle or PostgreSQL Entities Backend provides a set of APIs that the different client utilities (rhn_register, up2date, yum) can connect to. Taskomatic is a daemon whose job is to perform long running tasks that are scheduled to run asynchronously, such as clean up the sessions table, or send out email notifications for new errata Slide 20

A Spacewalk typical configuration Slide 21

Cooking all together!!!! Mcollective Slide 22

Fetching and updating oval files Redhat com.redhat.rhsa-all.xml Puppet-Master Novel suse.linux.enterprise.server.11.xml node 'puppet-master-ent.ecmwf.int' { filefetcher::fetch { 'Security Oval': filename => 'com.redhat.rhsa-all.xml', target_dir => '/etc/puppet/environments/production/modules/ecpds/files/roothomefolder', user => 'root', rights => '644', url => 'http://www.redhat.com/security/data/oval/com.redhat.rhsa-all.xml', redownload => true, } filefetcher::fetch { 'suse.linux.enterprise.server.11.xml': filename => 'suse.linux.enterprise.server.11.xml', target_dir => '/etc/puppetlabs/code/environments/production/modules/ecpds/files/roothomefolder', user => 'root', rights => '644', url => 'http://support.novell.com/security/oval/suse.linux.enterprise.server.11.xml', redownload => true, } filefetcher::fetch { 'suse.linux.enterprise.server.11-patch.xml': filename => 'suse.linux.enterprise.server.11-patch.xml', target_dir => '/etc/puppetlabs/code/environments/production/modules/ecpds/files/roothomefolder', user => 'root', rights => '644', url => 'http://support.novell.com/security/oval/suse.linux.enterprise.server.11-patch.xml', redownload => true, } } Nodes class { openscap::xccdf::eval: name => my-daily-ssg-audit, period => daily, } class openscap::params { $period = 'weekly' $weekday = 'Sat' $content_package = ['scap-security-guide'] $xccdf_path = '/usr/share/xml/scap/ssg/fedora/ssg-fedora-ds.xml' $xccdf_profile = 'xccdf_org.ssgproject.content_profile_common' case $::osfamily { 'redhat' : { $packages = ['rubygem-openscap'] suse' : { $packages = ['openscap'] } default : { fail("the ${module_name} module is not supported on an ${::osfamily} based system.") } } } Slide 23

Execute audit Report results Spacewalk Puppet-master Mcollective Schedule audit Report results Execute audit Report results Nodes Slide 24

Reports 1/5 Slide 25

Reports 2/5 Slide 26

Reports 3/5 Slide 27

Reports 4/5 Slide 28

Reports 5/5 Slide 29

Results Consistent system configuration and compliance with standards. Integration of security and auditing into the entire lifecycle of a system - Configuration Management Frameworks - Security and auditing are not isolated processes. - Prevention of Configuration and/or security drifts - Early warning of missing packages/patches and potential vulnerabilities. Automation of the entire process to be scalable with considerable system number increase Can be used to different environments ranging from physical- on premise systems to virtual on the Cloud or remote systems (which may need additional protection and auditing) Slide 30

Resources 1. SCAP : http://scap.nist.gov/ 2. XCCDF - The Extensible Configuration Checklist Description Format : http://scap.nist.gov/specifications/xccdf/ 1. CPE-Common Platform Enumeration https://nvd.nist.gov/cpe.cfm 3. CCE -Common Configuration Enumeration https://nvd.nist.gov/cce/index.cfm 4. OVAL-Open Vulnerability and Assessment Language. https://oval.mitre.org/ 5. Puppet : https://puppetlabs.com 6. Spacewalk: http://spacewalk.redhat.com/ 7. Mcollective : https://puppetlabs.com/mcollective Slide 31

Continuous security audit automation with Spacewalk, Puppet, Mcollective and SCAP Vasileios A. Baousis (Ph.D) Network Applications Team Slide 32