Live, interactive cybersecurity training available through SANS Live Online. View upcoming events.

SEC534: Secure DevOps: A Practical Introduction

Find ways to take this course: Online   |   Watch a free preview of this course
Course Syllabus  ·  12 CPEs  ·   Laptop Requirements

SEC534: Secure DevOps: A Practical Introduction explains the fundamentals of DevOps and how DevOps teams can build and deliver secure software. You will learn how DevOps principles, practices, and tools and how they can be leveraged to improve the reliability, integrity, and security of systems.

Using lessons from successful DevOps security programs, this course will explain how Secure DevOps can be implemented. Students will gain hands-on experience using popular open-source tools such as Puppet, Jenkins, GitLab, Vault, Grafana, and Docker to automate Configuration Management ("Infrastructure as Code"), Continuous Integration (CI), Continuous Delivery (CD), containerization, micro-segmentation, automated compliance ("Compliance as Code"), and Continuous Monitoring. The lab environment starts with a CI/CD pipeline that automatically builds, tests, and deploys infrastructure and applications. Leveraging the Secure DevOps toolchain, students perform a series of labs injecting security into the CI/CD pipeline using a variety of security tools, patterns, and techniques.

You Will Learn:

  • Foundations and principles of DevOps, Continuous Delivery, and Continuous Deployment
  • The security risks and challenges posed by DevOps
  • The keys to successful DevOps security programs
  • How to build security into Continuous Delivery and Continuous Deployment
  • The tools, patterns, and techniques of security automation in DevOps
  • How to secure your build and deployment environment and tool chain
  • How to leverage Infrastructure as Code for secure configuration management and provisioning
  • How manual security practices (risk assessments, audits, and pen tests) can be adapted to continuously changing environments, and the important role that they still play
  • Security risks and challenges posed by containers, and how to secure container technology
  • How to automate compliance in DevOps, using the DevOps Audit Defense Toolkit

Course Content Overlap Notice:

Please note that the course material for SEC534 and SEC540 overlap. SEC534 introduces students to Secure DevOps with discussions targeting on-premise deployments. SEC540 covers Secure DevOps from both a cloud and on-premise perspective.

Hands-On Training:

  • Understanding how a Continuous Delivery/Deployment pipeline works
  • The DevOps Deployment Kata
  • How to implement static analysis testing into Continuous Delivery
  • How to write automated security tests in Continuous Delivery
  • Security in system monitoring
  • Infrastructure as Code - securing a Puppet manifest
  • Container Security - finding vulnerabilities in Docker configurations
  • Automated auditing

You Will Be Able To:

  • Understand the core principles and patterns behind DevOps, how work is done in DevOps, and what the keys to success in DevOps are
  • Map out and implement a Continuous Delivery/Deployment pipeline
    • How to do a Value Stream Map of the processes and workflows in making code or configuration changes - from check-in to deployment and operations
    • How Continuous Integration, Continuous Delivery, and Continuous Deployment work, including workflows, patterns, and tools
    • How to identify the security risks and issues in DevOps and Continuous Delivery
  • Map out where security controls and checks can be added in Continuous Delivery and Continuous Deployment
    • Conduct effective risk assessments and threat modeling in a rapidly changing environment
    • Design and write automated security tests and checks in CI/CD
    • Understand the strengths and weaknesses of different automated testing approaches in Continuous Delivery
    • Implement self-service security services for developers
    • Inventory your software dependencies and secure them
    • Threat model and secure your build and deployment environment
  • Integrate security into production operations
    • Automate security policies
    • Leverage container technologies (such as Docker) for security
    • Automate compliance and run-time defense
    • Create continuous feedback loops from production to engineering
  • Create a plan for introducing or improving security in a DevOps environment
  • Apply DevOps techniques to secure DevOps practices

What You Will Receive:

  • Electronic Courseware
    • Day 1: Introduction to Secure DevOps
    • Day 2: Secure Infrastructure and Operations
  • Electronic Lab Workbook
  • Digital Download Lab environment
  • Extensive links to resources on DevOps, Continuous Delivery/Deployment, case studies, tools, etc.

Courses That Are Good Follow-ups to SEC534:

Course Syllabus

Overview

SEC534 starts by introducing DevOps practices, principles, and tools. We will examine how DevOps works, how work is done in DevOps, and the importance of culture, collaboration, and automation.

Using case studies of DevOps "Unicorns" - the Internet tech leaders who've created the DevOps DNA - we'll consider how and why these leaders succeeded and examine the keys to their DevOps security programs.

We'll then look at Continuous Delivery, which is the DevOps automation engine. We'll explore how to build up a Continuous Delivery or Continuous Deployment pipeline, including how to fold or wire the DevSecOps security controls into the Continuous Delivery pipeline, and how to automate security checks and tests in Continuous Delivery.

Exercises
  • Exploring CI/CD Tools and Pipelines
  • Deployment Kata
  • Pre-Commit Security: Git Hooks and Security Unit Testing
  • Automating Static Analysis in CI
  • Automating Dynamic Analysis in CI/CD

CPE/CMU Credits: 6

Topics
  • Introduction to DevOps
  • Working in DevOps
  • Security Challenges in DevOps
  • DevOps Deployment Kata
  • Secure Continuous Delivery
  • Security in Pre-Commit
  • Security in Commit
  • Security in Acceptance
Overview

Building on the ideas and frameworks developed in Section 1 of the course, and using modern automated configuration management tools like Puppet, Chef, and Ansible, you'll learn how secure Infrastructure as Code allows you to quickly and consistently deploy new infrastructure and manage configurations.

Because the automated Continuous Delivery pipeline is so critically important to DevOps, you'll also learn to secure the pipeline, including RASP and other run-time defense technologies.

As the infrastructure and application code moves to production, we'll spend the second half of the day exploring container security issues associated with tools such as Docker and Kubernetes, as well as how to protect secrets using Vault and how to build continuous security monitoring using Grafana, Graphite, and StatsD.

Finally, we will explain how to build compliance into Continuous Delivery, using the security controls and gates that we've already built in.

Exercises
  • Configuration Management with Puppet
  • Auditing Docker's Security
  • Monitoring with Dashboards, Granfana, and Graphite
  • Protecting Secrets with Vault
  • Auditing with OpenSCAP

CPE/CMU Credits: 6

Topics
  • Secure Configuration Management Using Infrastructure as Code
  • Securing Configuration Management and the Continuous Integration/ Continuous Delivery Pipelines
  • Container Security, Hardening, and Orchestration
  • Continuous Monitoring and Feedback Loops
  • Secure Secrets Management
  • Automating Compliance as Code
  • Going Forward: Introducing Security into DevOps, and DevOps into Security
  • Quick Wins and Long-term Investments Needed to Succeed

Additional Information

Plan to arrive 30 minutes early for your first session for lab preparation and setup. During this time, students can ensure laptops have virtualization enabled, copy the lab files, and start the Linux virtual machine.

The instructor will be available to assist students with laptop prep and set-up 30 minutes prior to class start time. Class lecture begins promptly as scheduled.

USE YOUR OWN LAPTOP CONFIGURED USING THE FOLLOWING DIRECTIONS:

A properly configured system is required to participate fully in this course. These requirements are the mandatory minimums. If you do not carefully read and follow these instructions, you will likely finish the class unsatisfied because you will not be able to participate in hands-on exercises that are essential to this course. We strongly urge you to start prepared with a system meeting all the requirements specified for the course.

It is critical that you back-up your system before class. It is also strongly advised that you do not use a system storing any sensitive data.

System Hardware Requirements

CPU: Your system's processor must be a 64-bit Intel i5/i7 2.0+ GH processor or higher. Your CPU and OS must support a 64-bit guest virtual machine.

  • VMware provides a free tool for Windows that will detect whether or not your host supports 64-bit guest virtual machines.
  • Windows users can use this article to learn more about their CPU and OS capabilities.
  • Apple users can use this support page to learn more information about Mac 64-bit capability.

BIOS: Intel's VT (VT-x) hardware virtualization technology should be enabled in your system's BIOS or UEFI settings. You must be able to access your system's BIOS throughout the class. If your BIOS is password protected, you must have the password.

USB: USB 3.0 Type-A port: At least one available USB 3.0 Type-A port is required for copying large data files from a USB 3.0 drive. The USB port must not be locked in hardware or software. Some newer laptops may have only the smaller Type-C ports. In this case, you will need to bring a USB Type-C to Type-A adapter.

RAM: 16 GB RAM is REQUIRED. To verify on Windows 10, press Windows key + "I" to open Settings, then click "System", then "About". Your RAM information will be toward the bottom of the page. To verify on a Mac, click the Apple logo at the top left-hand corner of your display and then click "About this Mac".

Hard Drive Free Space: 100 GB of FREE space on the hard drive is critical to host the VMs and additional files we distribute. For SEC534, an SSD drive is REQUIRED.

Operating System: Your system must be running either Windows 10 Pro or macOS 10.13 or higher. Make sure your operating system is fully updated with the correct drivers and patches prior to arriving in class.

Additional Hardware Requirements

The requirements below are in addition to baseline requirements provided above. Prior to the start of class, you must install virtualization software and meet additional hardware and software requirements as described below. If you do not carefully read and follow these instructions, you will leave the class unsatisfied because you will not be able to participate in hands-on exercises that are essential to this course.

Laptop Requirements for SEC534

Network, Wireless Connection: A wireless 802.11 B, G, N, or AC network adapter is required. This can be the internal wireless adapter in your system or and external USB wireless adapter. A wireless adapter allows you to connect to the network without any cables. If you can surf the Internet on your system without plugging in a network cable, you have wireless.

Additional Software Requirements

Solid State Drive: Solid State Drive (SSD) is REQUIRED.

VMware: A current version of VMware Workstation Pro, VMware Workstation Player, or VMware Fusion is required to run the virtual machine used for this class.

Credential Guard: If your host computer is running Windows, Credential Guard may interfere with the ability to run VMs. It is important that you start up VMWare prior to class and confirm that virtual machines can run. It is required that Credential Guard is turned off prior to coming to class.

System Configuration Settings

Local Admin: Have an account with local admin privileges. Some of the tools used in the course will require local admin access. This is absolutely required. If your company will not permit this access for the duration of the course, then you should make arrangements to use a different system.

Disable VPN: Enterprise VPN clients may interfere with the network configuration required to participate in the class. To avoid any frustration in class, uninstall or disable your enterprise VPN client for the duration of the class. If you keep it installed, make sure that you have the access to disable or uninstall it at class.

If you have additional questions about the laptop specifications, please contact├┬álaptop_prep@sans.org.

If you have additional questions about the laptop specifications, please contact laptop_prep@sans.org.

  • Developers, software architects, operations engineers, and system admins working in a DevOps environment, or transitioning to a DevOps environment, who want to understand how and where to add security checks, testing, and other controls.
  • Security analysts, security engineers, auditors and risk managers, security consultants, and pen testers who want to understand how to adapt security practices to DevOps and Continuous Delivery.

Students should have the following:

  • A basic understanding of application security, common attacks, and vulnerabilities (e.g., the OWASP Top 10)
  • Some familiarity with Agile development and Agile project/product management practices
  • Basic familiarity with Linux command shells

"A fast-paced and illustrative two days on the current state of security for DevOps. Well worth the time invested to take the class." - Michael Machado, Ring Central

"I have read a lot, and watched a lot of webinars, about DEV Sec Ops. But none of those told me how to implement security in the DEV Ops pipeline. This course provided me with a ton of concrete steps I can take to integrate the security into our company." - Matthew Theobald, Schneider Electric

"Given the substantial breadth of security topics covered, I was impressed by the incredible technical depth throughout this course, and the well-researched links to resources to facilitate further learning and practical implementation." - Brett Vasconcellos

"The material/contents of this class are excellent. They help me learn all the tools that are relevant to work." - Hoan Le, Ring Central

Author Statement

"DevOps is already radically changing the way that organizations design, build, deploy, and operate online systems. DevOps leaders like Amazon, Etsy, and Netflix are able to deploy hundreds or even thousands of changes every day, continuously learning, improving, and growing - and leaving their competitors far behind. Now DevOps is making its way from Internet ├ó┬┬Unicorns├ó┬┬ and cloud providers into enterprises.

"Traditional approaches to security can't come close to keeping up with this rate of accelerated change and with engineering and operations teams that have broken down 'the walls of confusion' between their organizations and are increasingly leveraging new kinds of automation, such as Infrastructure as Code, Continuous Delivery and Continuous Deployment, microservices, containers, and cloud service platforms.

"Security must be reinvented in a DevOps world."

- Ben Allen and Jim Bird

Additional Resources

Take your learning beyond the classroom. Explore our site network for additional resources related to this course's subject matter.

Find ways to take this course