red team vs blue team in microsoft cloud - azure tutorials · 2018-06-22 · 6 azure saturday2018...

30
1 Azure Saturday 2018 Red Team VS Blue Team in Microsoft Cloud Mustafa Toroman Saša Kranjac

Upload: others

Post on 28-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

1 Azure Saturday 2018

Red Team VS Blue Team in Microsoft Cloud

Mustafa Toroman

Saša Kranjac

Page 2: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

2 Azure Saturday 2018

Thank you, sponsors!

Page 3: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

3 Azure Saturday 2018

Speaker Introduction

• Mustafa Toroman

• Senior System Engimeer @ Authority Partners

• @toromust

• http://toroman.cloud/

• Microsoft Azure MVP

• MCSE, MCP, MCSA, MCITP, MCSD, MCT, MS v-TSP

Page 4: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

4 Azure Saturday 2018

Speaker Introduction

• Saša Kranjac

• CEO and Security Expert @ Kranjac - IT Training and Consulting

• @SasaKranjac

• MCSE, MCP, MCSA, MCITP, MCT, MCT Regional Lead, Certified EC-Council Instructor, CEH

Page 5: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

5 Azure Saturday 20185

No one is able to use your

data in a way that you do

not approve.

The confidentiality,

integrity, and availability of

your data is protected.

You have visibility into how

your data is being handled

and used.

Your content is stored and

managed in compliance

with applicable laws,

regulations and standards.

The Microsoft Cloud -A Cloud You Can Trust

Page 6: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

6 Azure Saturday 2018

Azure Platform Services

Security & Management

Azure Infrastructure Services

Web Apps

MobileApps

APIManagement

APIApps

LogicApps

NotificationHubs

Content DeliveryNetwork (CDN)

MediaServices

HDInsight MachineLearning

StreamAnalytics

DataFactory

EventHubs

MobileEngagement

ActiveDirectory

Multi-FactorAuthentication

Portal

Key Vault

BiztalkServices

HybridConnections

ServiceBus

StorageQueues

Store /Marketplace

HybridOperations

Backup

StorSimple

SiteRecovery

Import/Export

SQLDatabase

DocumentDB

RedisCache Search

Tables

SQL DataWarehouse

Azure AD Connect Health

AD PrivilegedIdentity Management

OperationalInsights

CloudServices

Batch Remote App

ServiceFabric Visual Studio

ApplicationInsights

Azure SDK

Team Project

VM Image Gallery& VM Depot

Azure SecurityCenter

Automation

Page 7: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

7 Azure Saturday 2018

Datacenter Security

Perimeter

Computer room

Building

Seismic

bracing

Security

operations center

24X7

security staff

Days of

backup power

Cameras AlarmsTwo-factor access control:

Biometric readers & card readers

Barriers Fencing

Page 8: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

8 Azure Saturday 2018

✓ Isolates customer

environments using the Fabric

Controller

✓ Runs a configuration-hardened

version of Windows Server as

the Host OS

✓ Uses Hyper-V – a battle tested

and enterprise proven

hypervisor

Azure

Storage

SQL

Database

FabricController

Customer

Admin

Guest VM Guest VM

Customer 2

Guest VM

Customer 1Portal

Smart API

End

Users

Host OS

Hypervisor

Microsoft Azure

Secure Multi-tenancy

Page 9: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

9 Azure Saturday 2018

Identity & Access: Azure AD

✓ Centrally manage users and access to

Azure, O365, and hundreds of pre-

integrated cloud applications

✓ Build Azure AD into your web and

mobile applications

✓ Can extend on-premises directories to

Azure AD through synchronizationEnd Users

Active Directory

Azure Active Directory Cloud Apps

Page 10: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

10 Azure Saturday 2018

Identity & Access: Multi Factor Authentication

✓ Protect sensitive data and applications

both on-premises and in the cloud with

Multi Factor Authentication

✓ Can use Active Directory (on-premises)

with Azure Active Directory (in cloud) to

enable single sign-on, a single directory,

and centralized identity management

✓ Multi Factor Authentication can be

implemented with Phone Factor or with

AD on-premises

Active Directory

Microsoft AzureActive Directory

Page 11: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

11 Azure Saturday 2018

Data Protection

Data segregation

Logical isolation segregates each

customer’s data from that of others.

In-transit data protection

Industry-standard protocols encrypt data

in transit to/from outside components, as

well as data in transit internally by default.

Data redundancy

Customers have multiple options for

replicating data, including number of

copies and number and location of

replication datacenters.

At-rest data protection

Customers can implement a range of

encryption options for virtual machines

and storage.

Encryption

Data encryption in storage or in transit

can be deployed by the customer to align

with best practices for ensuring

confidentiality and integrity of data.

Data destruction

When customers delete data or leave

Azure, Microsoft follows procedures to

render the previous customer’s data

inaccessible.

Page 12: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

12 Azure Saturday 2018

Virtual Machines:

✓ Data drives – full disk encryption through BitLocker

✓ Boot drives – partner solutions

✓ SQL Server – Transparent Data Encryption

✓ Files & folders - EFS in Windows Server

Storage:✓ Bitlocker encryption of drives for import/export of

data

✓ Server-side encryption of Blob Storage using AES-256

✓ Client-side encryption w/.NET and Java support

✓ StorSimple with AES-256 encryption

Applications:✓ Client Side encryption through .NET Crypto API

✓ RMS SDK for file encryption by your applications

Options for Encryption at Rest

Page 13: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

13 Azure Saturday 2018

Microsoft Azure

IaaS SaaSPaaS

Microsoft Azure Key Vault

Key Vault offers an easy, cost-effective way

to safeguard keys and other secrets used

by cloud apps and services using HSMs.

✓ You manage your keys and secrets

✓ Applications get high performance access

to your keys and secrets… on your terms

Import keys

HSM

Key Vault

Page 14: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

14 Azure Saturday 2018

✓ VM’s are secured at rest using industry

standard encryption technology to

address organizational security and

compliance requirements.

✓ VM’s boot under customer controlled

keys and policies, and they can audit

their usage in Key Vault.HOST

Azure Active Directory

Virtual Machine

Encrypted Disks

Encryption Extension

Customer Key Vault

Disk Encryption

Page 15: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

15 Azure Saturday 2018

Encryption Type Type Customer Value

Encryption-In-Transit TLS from Client to ServerTLS = Transport Layer Security

Protects data between client and server against snooping & man-in-the-middle attacks.SQL DB is phasing out SSL 3.0 and TLS 1.0 in favor of TLS 1.2.

Encryption-At-Rest TDE for SQL DBTDE = Transparent Data Encryption

Protects data on disk. Key management done by Azure.Makes it easier to obtain compliance.

Encryption-End-To-End Client-side column encryption for SQL DB (library available for download)

Data protected end-to-end but application is aware of encrypted columns. Used in the absence of data masking and TDE for compliance related scenarios.

Database Files, Backups, Tx Log, TempDB

Customer Data

In-Transit At-RestEnd-To-End

SQL Encryption: Overview

Page 16: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

16 Azure Saturday 2018

Secure Networking: Options

Virtual Networks

Customers can connect one or more cloud services using private IP addresses.

Network Security Groups

Customers can control network traffic flowing in and out of customer services in Azure.

VPN

Customers can securely connect to a virtual network from anywhere.

ExpressRoute

Customers can create private connections between Azure datacenters and infrastructure that’s on your premises or in a colocation environment.

Page 17: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

17 Azure Saturday 2018

DDoS Defense System

MSFT Routing Layer

Detection Pipeline

Profile DB

Scrubbing Array

SLB

Application

Attack Traffic

Scrubbed Traffic

Flow Data

Routing Updates

Internet

✓ Azure’s DDoS defense

system is designed not

only to withstand attacks

from the outside, but also

from within.

✓ Azure monitors and

detects internally initiated

DDoS attacks and

removes offending VMs

from the network

Page 18: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

18 Azure Saturday 2018

✓ Create Virtual Networks

with Subnets and Private

IP addresses

✓ Configure access control

rules, which can be

applied across Virtual

Networks to thousands of

machines in seconds

✓ Can bring your own DNS

and can domain join your

VMs

Virtual Networks & Security Groups

Customer 2

INTERNET

Isolated Virtual

Networks

Customer 1

Subnet 1 Deployment X Deployment Y

VLAN-to-VLAN

Cloud Access Layer

RDP Endpoint(password access)

Client

Subnet 2 Subnet 3

DNS Server

VPN

Microsoft Azure

Corp 1

Page 19: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

19 Azure Saturday 2018

Customer 1

Isolated Virtual

Network

Deployment X

Microsoft Azure

VPN

Remote

Workers

Customer Site

Computers Behind Firewall

✓ Connect your sites and remote

workers to Azure Virtual Networks

using Site-to-Site or Point-to-Site

VPNs

✓ You own and manage certificates,

policies, and user access

VPN Connections

Page 20: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

20 Azure Saturday 2018

Customer 1

Isolated Virtual

Network

Deployment X

Microsoft Azure

Site 1ExpressRoute

Peer

Site 2

WAN

✓ Can establish connections to Azure

at an ExpressRoute location

(Exchange Provider facility)

✓ Can directly connect to Azure from

your existing WAN network (such

as a MPLS VPN) provided by a

network service provider

✓ You own and manage certificates,

policies, and user access

Azure ExpressRoute

Page 21: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

21 Azure Saturday 2018

✓ Provides coordination,

analysis of logs and VHD

images in the event of

platform-level incident

✓ Provides forensic data to

customers when needed

Forensics

!! !

Page 22: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

22 Azure Saturday 2018

Incident Response

EventDetected

Security TeamEngaged

Security Event Confirmed

EventStart

DevOps Engaged

Incident Assessment

Determine Customer Impact

Azure CustomerNotification

Customer ProcessStep 1

Determine Affected

Customers

Customer Notification

✓ In-depth 9-step incident response process

✓ Focus on containment & recovery

✓ Makes contractual commitments regarding

customer notification + provides forensics

Page 23: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

23 Azure Saturday 2018

Host Protection: Monitoring, Firewalls, AV

Customer VMs

Microsoft Azure

!

Enable

Monitoring

Agent

Extract event information to SIEM or

other reporting system

Customer

Admin

Portal

SMAPI

Events

Guest VM Guest VM Cloud Services

HDInsightAzure

storage

Alerting &

reporting

✓ Configure monitoring, export events

for analysis

✓ Configure Microsoft Antimalware or

an AV/AM solution from a partner

✓ Apply corporate firewall using site-to-

site VPN, configures endpoints

✓ Define access controls between tiers

and provide additional protection via

the OS firewall

✓ Monitor and respond to alerts

Page 24: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

24 Azure Saturday 2018

• Monitor 100,000+ vulnerability reports

• Sourced from customers & worldwide network of security researchers

• Reviews and tests all changes

• Prioritize critical updates

• Monthly OS releases with patches

• Reconciliation report

• Resolution summary

• Scanning & reporting of all Azure VMs

• Track & remediate any findings

AZURE:

✓ Apply patch management as a

service

✓ Rigorously reviews & tests all

changes

CUSTOMER:

✓ Applies similar patch

management strategies for their

Virtual Machines

Update Management

MONTHLY MSRC PATCH

REVIEW

PATCHING ROLLOUT

SCANNING

AUDIT VALIDATION

Page 25: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

25 Azure Saturday 2018

Visibility &

Control

Deploy &

Detect

Set Policy &

Monitor

Understand

Current

State

Deploy

Integrated

Solutions

Respond &

recover faster

Find

threats that

might go

unnoticed

Continue

learning

✓ Gain visibility and control

✓ Integrated security, monitoring,

policy management

✓ Built in threat detections and alerts

✓ Works with broad ecosystem of

security solutions

Protect, Detect and Respond to Threats with Native Azure Security Center

Page 26: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

26 Azure Saturday 2018

Operations Management Suite

• Collect security-related events and perform forensic, audit, and breach analysis

Comprehensive updates assessment across datacenters and public clouds

Detection of breaches and threats with malware assessment

Perform forensic, audit and breach analysis

Page 27: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

27 Azure Saturday 2018

✓ Provides big data analysis of logs for

intrusion detection & prevention for the

platform

✓ Employs denial of service attack

prevention measures for the platform

✓ Regularly performs penetration testing

Customer Environment

Application Tier

Logic Tier

Database Tier

Virtual Network

INTERNET

VPNCorp 1

Cloud Access & Firewall Layer

THREAT DETECTION: DOS/IDS Layer

DOS/IDS Layer

DOS/IDS Layer

DOS/IDS Layer

End Users

Microsoft Azure

Threat Detection

Page 28: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

28 Azure Saturday 2018

Q&A?

Page 29: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

29 Azure Saturday 2018

Please complete survey ☺

https://form.responster.com/OKm4ds

OR

Page 30: Red Team VS Blue Team in Microsoft Cloud - Azure Tutorials · 2018-06-22 · 6 Azure Saturday2018 Azure Platform Services Security & Management Azure Infrastructure Services Web Apps

30 Azure Saturday 2018

Thank you!