How to Use This Deck How to Improve This

How to Use This Deck How to Improve This

HOW TO USE THIS DECK This slide deck is meant to accompany the Ansible Security workshop, both sections. Note that this deck is optional - the workshop content explains each and every Ansible idea in detail already. HOW TO IMPROVE THIS DECK The workshop is a collaborative effort. Help us to improve it! You can leave comments, and the BU will make sure to work on this. Tag for example Roland (Wolters) or Sean (Cavanaugh) to ensure that they pick it up. Speaking about the BU: the fact that this deck is now owned by an organization and not individuals anymore hopefully ensures for the future that the deck stays up2date over time as the workshop develops. WHO IS THE AUDIENCE FOR THIS WORKSHOP The workshop is intended for people who want to learn how Ansible can be leveraged in security environments. The workshop is intended for technical professionals in automation [supporting horizontally other teams in their company], security operations and vulnerability management. There is no previous knowledge about Ansible required to access this workshop, though it certainly helps. Ansible Security Automation Workshop Introduction to Ansible Security Automation for System Administrators and Security Operators Housekeeping ● Timing ● Breaks ● Takeaways 3 What you will learn ● Introduction to Ansible Security Automation ● How it works ● Understanding modules, tasks & playbooks ● How to use Ansible with various security tools ○ SIEM: QRadar ○ IDS: Snort ○ Firewall: Check Point NGFW 4 Introduction Topics Covered: ● What Ansible Automation is ● What it can do 5 Automation happens when one person meets a problem they never want to solve again Teams are automating... Lines Of Business Network Security Operations Developers Infrastructure Ad-hoc Automation is happening in silos Ansible used in silo Developers DIY scripting automation Is organic Security automation enough? Open source config management tool Infrastructure Proprietary vendor supplied automation Network Why Ansible? Simple Powerful Agentless Human readable automation App deployment Agentless architecture No special coding skills needed Configuration management Uses OpenSSH & WinRM Tasks executed in order Workflow orchestration No agents to exploit or update Usable by every team Network automation Get started immediately Get productive quickly Orchestrate the app lifecycle More efficient & more secure What can I do using Ansible? Automate the deployment and management of your entire IT footprint. Do this... Configuration Application Continuous Security and Orchestration Provisioning Management Deployment Delivery Compliance On these... Firewalls Load Balancers Applications Containers Clouds Servers Infrastructure Storage Network Devices And more... When automation crosses teams, you need an automation platform Network Developers Lines Of Business Infrastructure Security Operations Red Hat Ansible Automation Platform Lines of Network Security Operations Infrastructure Developers business Engage Ansible SaaS: Engage users with an automation focused experience Scale Ansible Tower: Operate & control at scale Create Ansible Engine: Universal language of automation Fueled by an open source community Ansible automates technologies you use Time to automate is measured in minutes Cloud Virt & Container Windows Network Security Monitoring AWS Docker ACLs A10 Checkpoint Dynatrace Azure VMware Files Arista Cisco Datadog Digital Ocean RHV Packages Aruba CyberArk LogicMonitor Google OpenStack IIS Cumulus F5 New Relic OpenStack OpenShift Regedits Bigswitch Fortinet Sensu Rackspace +more Shares Cisco Juniper +more +more Services Dell IBM Configs Extreme Palo Alto Devops Operating Storage Users F5 Snort Jira Systems Netapp Domains Lenovo +more GitHub RHEL Red Hat Storage +more MikroTik Vagrant Linux Infinidat Juniper Jenkins Windows +more OpenSwitch Slack +more +more +more Red Hat Ansible Tower Financial summary: by the numbers: Reduction in recovery time following a security incident 146% 94% ROI on Ansible Tower Savings by deploying workloads to generic systems appliances 84% using Ansible Tower < MONTHS 3 Reduction in man hours required Payback on Ansible Tower 67% for customer deliveries SOURCE: "The Total Economic Impact™ Of Red Hat Ansible Tower, a June 2018 commissioned study conducted by Forrester Consulting on behalf of Red Hat." redhat.com/en/engage/total-economic-impact-ansible-tower-20180710 PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CMDB CLOUD ANSIBLE AUTOMATION ENGINE USERS HOSTS INVENTORY CLI MODULES PLUGINS NETWORK ANSIBLE DEVICES PLAYBOOK PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CLOUD CMDB ANSIBLE AUTOMATION ENGINE PLAYBOOKS ARE WRITTEN IN YAML USERS Tasks are executed sequentially Invoke Ansible modules HOSTS INVENTORY CLI MODULES PLUGINS NETWORK ANSIBLE DEVICES PLAYBOOK --- - name: install and start apache hosts: web become: yes tasks: - name: httpd package is present yum: name: httpd state: latest - name: latest index.html file is present template: src: files/index.html dest: /var/www/html/ - name: httpd is started service: name: httpd state: started PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CMDB CLOUD ANSIBLE AUTOMATION MODULES ENGINE ARE “TOOLS IN THE TOOLKIT” Python, Powershell, or any language Extend Ansible simplicity to the entire stack USERS HOSTS INVENTORY CLI MODULES PLUGINS NETWORK ANSIBLE DEVICES PLAYBOOK - name: latest index.html file is present template: src: files/index.html dest: /var/www/html/ PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CMDB CLOUD PLUGINS ARE “GEARS IN THE ENGINE” Code that plugs into the core engine ANSIBLE Adaptability AUTOMATION for ENGINEvarious uses & platforms USERS HOSTS INVENTORY CLI MODULES PLUGINS NETWORK ANSIBLE DEVICES PLAYBOOK {{ some_variable | to_nice_yaml }} PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CLOUD CMDB INVENTORY List of systems in your infrastructure that automation is executed against ANSIBLE AUTOMATION ENGINE [web] webserver1.example.com webserver2.example.com USERS [db] HOSTS dbserver1.example.com INVENTORY CLI [switches] leaf01.internal.com leaf02.internal.com MODULES PLUGINS NETWORK [firewalls] ANSIBLE DEVICES checkpoint01.internal.comPLAYBOOK [lb] f5-01.internal.com PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CLOUD CMDB ANSIBLE AUTOMATION ENGINE CLOUD USERS Red Hat Openstack, Red Hat Satellite, VMware, HOSTS AWS EC2, Rackspace,INVENTORY Google ComputeCLI Engine, Azure MODULES PLUGINS NETWORK ANSIBLE DEVICES PLAYBOOK PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CMDB CLOUD ANSIBLE AUTOMATION ENGINE USERS CMDB ServiceNow, Cobbler, BMC,HOSTS Custom cmdb INVENTORY CLI MODULES PLUGINS NETWORK ANSIBLE DEVICES PLAYBOOK PUBLIC / PRIVATE CLOUD PUBLIC / PRIVATE CLOUD CMDB ANSIBLE AUTOMATION ENGINE USERS HOSTS INVENTORY CLI MODULES PLUGINS AUTOMATE EVERYTHING NETWORK ANSIBLE DEVICES PLAYBOOKRed Hat Enterprise Linux, Cisco routers, Arista switches, Juniper routers, Windows hosts, Check Point firewalls, NetApp storage, F5 load balancers and more LINUX AUTOMATION AUTOMATE EVERYTHING LINUX 150+ Red Hat Enterprise Linux, BSD, Debian, Ubuntu and many more! Linux Modules ONLY REQUIREMENTS: Python 2 (2.6 or later) or Python 3 (3.5 or later) ansible.com/get-started How Ansible Automation works Module code is executed locally NETWORKING on the control node DEVICES Module code is copied to the managed node, LINUX/WINDOWS executed, then HOSTS removed Section 1 Introduction to Ansible Security Automation Basics 26 Exercise 1.1 Topics Covered: ● What Ansible Security Automation is about ● The lab infrastructure 27 CONFIDENTIAL - For Internal Use Only Ansible Security - What Is It? Ansible Security Automation is our expansion deeper into the security use case. The goal is to provide a more efficient, streamlined way for security teams to automate their various processes for the identification, search, and response to security events. This is more complex and higher-value than the application of a security baseline (PCI, STIG, CIS) to a server. Ansible Security Automation is a supported set of Ansible modules, roles and playbooks designed to unify the security response to cyberattacks. CONFIDENTIAL - For Internal Use Only Is It A Security Solution? No. Ansible can help Security teams “stitch together” the numerous security solutions and tools already in their IT environment for a more effective cyber defense. By automating security capabilities, organizations can better unify responses to cyberattacks through the coordination of multiple, disparate security solutions, helping these technologies to act as one in the face of an IT security event. Red Hat will not become a security vendor, we want to be a security enabler. Ansible Security Automation IDS/IPS ENTERPRISE SIEM FIREWALLS PAM SECURE EMAIL GATEWAYS ENDPOINT PROTECTION SECURE WEB PLATFORMS THREAT GATEWAYS INTELLIGENCE 30 PLATFORMS In this exercise: Verify Access ● Follow the steps to access environment ● Use the IP provided to you, the script only has example IPs ● Access to machines is done via online editor with a built-in terminal 31 Ansible Inventory ● Ansible works against multiple systems in an inventory ● Inventory is usually file based ● Can have multiple groups ● Can have variables for each group or even host 32 Your inventory ● Contains all machines of your environment ● Setup up just for you, individually ● Note your individual IP addresses for each machine - often in the script you need to replace example IP addresses with your individual ones 33 CONTROL SSH HOST REST SYSLOG RDP ATTACKER CHECKPOINT NGFW TARGET/IDPS SNORT SIEM 34 IBM QRadar Your inventory [all:vars] ansible_user=student1 ansible_ssh_pass=ansible

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    85 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us