Examining Security with Azure
Tags: devops, security, azure
Published: 2019-12-23 10:03:18

---
title: Examining Security with Azure
published: true
description: Day 23 of the Azure Advent: Security with Azure
tags: devops, security, azure
cover_image: https://thepracticaldev.s3.amazonaws.com/i/9j2k1fvs8nwbmw864lw1.jpg
---

Rather than having one long video for Azure Advent, I've tried to make a set of smaller videos that you can watch in any order. In this series of videos I talk about security on Azure. For other great Azure content, check out the contributions to the [Azure Advent event](https://azureadventcalendar.com/).

## Security Introduction

{% youtube tfzI3h1qYDw %}

What do you think of when someone says security?

A minimal definition I would give for security would be resilience from harm. 

Often it feels like we talk about security as an end state. For example, this application or website is secure. Very much like other areas of operability, security is a mind-set and a set of processes and technologies that are continually evolving to respond to malicious and accidental activities that could harm our infrastructure, application, data, and overall impact the value and trust of our customers.

In 2015, [Gartner Inc.](https://www.gartner.com/en/newsroom/press-releases/2015-10-06-gartner-reveals-top-predictions-for-it-organizations-and-users-for-2016-and-beyond), revealed its top strategic predictions for 2016 and beyond. One of these predictions was that "Through 2020, 95 percent of cloud security failures will be due to some problematic use by customers rather than cloud providers. In 2019, [Gartner Inc.](https://www.gartner.com/smarterwithgartner/is-the-cloud-secure/) updated this prediction up through 2025 increasing the problematic usage to 99%! You could say that it's a competitive advantage to improve security skills. 

Looking at the different types of infrastructure you can invest in from on-prem datacenters, infrastructure as a service, platform as a service, to software as a service, there are some elements of security that are taken on by the cloud provider and some that are the responsibility of the customer. This is part of the premium price that comes from a provider handling a part of resilience for you. No matter what architecture is chosen though, data and it's accessibility, identity and access management, and end-point management is the responsibility of the customer.

It's important to talk about how to talk about security. Models are useful ways to inspire conversations and build context between people. One of the first models that I learned about was the CIA triad: confidentiality, integrity, and availability. Confidentiality is the set of rules that limit access to information to the people who should have access to it. Integrity is that assurance that information is true and correct to its original purpose and that only those who should be able to can modify that information. Availability is about the reliable access to information and resources to the individuals who need it and when they need it. 

A newer model is the [DIE model](https://www.slideshare.net/sounilyu/distributed-immutable-ephemeral-new-paradigms-for-the-next-era-of-security). It helps orient architecture decisions by framing based on desirable outcomes. When we can choose a distributed architecture, we can better manage the harm that is caused by distributed attacks. When we can choose an immutable infrastructure, we can detect changes and repair those changes. When we can choose ephemeral infrastructure, then often by the time an attacker is able to figure out a vulnerability in our infrastructure it's already gone and the value of trying to compromise the infrastructure approaches zero. 

#### Additional Resources

* [Introduction to Azure Security](https://docs.microsoft.com/en-us/azure/security/fundamentals/overview)
* [Azure Data Center Security](https://azure.microsoft.com/en-us/resources/videos/azure-datacenter/?WT.mc_id=devto-blog-jedavis)
* [Check whether an account has been compromised in a data breach on https://haveibeenpwned.com.](https://haveibeenpwned.com/)
![Example output from compromised account on https://haveibeenpwned.com/ with details about Apollo, Cafe Press, and Canva compromised data.](https://thepracticaldev.s3.amazonaws.com/i/gss438tsvymxajslheuj.png)
* [Verizon Data Breach Report](https://enterprise.verizon.com/resources/reports/dbir/)
* [Example of attack.](https://www.reuters.com/article/us-thyssenkrupp-cyber-idUSKBN13X0VW)


### Designing and Architecting with a Security Focus

{% youtube qk1xeH9WDFQ %}

#### Additional Resources

* [OWASP Application Security Verification Standard Project](https://www.owasp.org/index.php/Category:OWASP_Application_Security_Verification_Standard_Project)
* [Microsoft Threat Modeling Tool](https://www.microsoft.com/en-us/securityengineering/sdl/threatmodeling/?WT.mc_id=devto-blog-jedavis)
* [OWASP Threat Model Project](https://www.owasp.org/index.php/OWASP_Threat_Model_Project)
* [Microsoft Security Risk Detection - Fuzz Testing](https://azure.microsoft.com/en-us/services/key-vault/?WT.mc_id=devto-blog-jedavis)

### Developing with a Security Perspective

{% youtube 5WVUIVAXhMQ %}

#### Additional Resources
* [Example of issue that could have been prevented with linting]( https://www.imperialviolet.org/2014/02/22/applebug.html)
* [Compliance as Code](https://www.inspec.io/)
* [Microsoft Security Risk Detection - Fuzz Testing](https://www.microsoft.com/en-us/security-risk-detection/?WT.mc_id=devto-blog-jedavis)
* [Learn all about testing with the Test Automation University](https://testautomationu.applitools.com/)
* [Azure Key Vault](https://azure.microsoft.com/en-us/services/key-vault/?WT.mc_id=devto-blog-jedavis)

### Monitoring with a Security Perspective 

{% youtube axBde9DCrGo %}

#### Additional Resources

* [Minimum Viable Response Plan by Jason Hand](https://jhand.co/CreateResponsePlan)
* [Azure Security Foundations Benchmark (DRAFT)](https://azure.microsoft.com/en-us/blog/cis-azure-security-foundations-benchmark-open-for-comment/?WT.mc_id=devto-blog-jedavis) 
The [Azure Security Center](https://docs.microsoft.com/en-us/azure/security-center/?WT.mc_id=devto-blog-jedavis) has a _free tier_ that is automatically enabled on all Azure subscriptions and provides security policy, continuous security assessment, and actionable security recommendations to help you protect your Azure resources. 
* [Central documentation for Azure Security Center](https://docs.microsoft.com/en-us/azure/security-center/?WT.mc_id=devto-blog-jedavis)
* [Azure Learn Module for Azure Security Center](https://docs.microsoft.com/en-us/learn/modules/identify-threats-with-azure-security-center/?WT.mc_id=devto-blog-jedavis)
* [Azure Learn Modules for Security Operations](https://docs.microsoft.com/en-us/learn/paths/manage-security-operations/?WT.mc_id=devto-blog-jedavis)

## Twitter 

There are a lot of industry discussions that happen on Twitter. If you're interested in learning about current trends and practices, here are a few interesting accounts:

* [Jam](https://twitter.com/jamfish728)
* [Ian Coldwater](https://twitter.com/IanColdwater)
* [Tinker Fairy](https://twitter.com/TinkerFairy_Net)
* [Teri Radichel](https://twitter.com/TeriRadichel)
* [Tanya Janca](https://twitter.com/shehackspurple)
* [Cariad](https://twitter.com/KateLibc)
* [Jenessa Petersen](https://twitter.com/JPinTech)
* [Sarai Rosenberg](https://twitter.com/saraislet)
* [Victoria Drake](https://twitter.com/victoriadotdev)
* [Yolonda Smith](https://twitter.com/ysmithnd)
* [Luis Saiz Gimeno](https://twitter.com/lsaiz)
* [Christina Morillo](https://twitter.com/divinetechygirl)
* [Quiessence Phillips](https://twitter.com/itsquiessence)
* [Alison Gianotto](https://twitter.com/snipeyhead)
* [Pamela Dingle](https://twitter.com/pamelarosiedee)
* [Victoria Drake](https://twitter.com/victoriadotdev)
* [Kelly Shortridge](https://twitter.com/swagitda_)
* [Ana Oprea](https://twitter.com/0xa6ea)
* [CTF Circle](https://twitter.com/CTF_Circle) 
* [OWASP](https://twitter.com/owasp)
* [WoSEC](https://twitter.com/WoSECtweets)

Do you have resources that you'd recommend? Please share below and I'll update this page to include them.