trimarcsecurity.com ] - active directory security · azure ad premium password protection (public...

95
[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Upload: others

Post on 22-May-2020

20 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 2: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Securing the Microsoft Cloud(Office 365 & Azure AD)

Sean MetcalfFounder, Trimarc

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 3: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Presenter bio

Sean Metcalf

Founder & CTO, TrimarcOne of ~100 people globally who holds the Microsoft Certified Master Directory Services (MCM) certification. Presented on Active Directory attack and defense at Black Hat, BSides, DEF CON, DerbyCon, Shakacon and Sp4rkCon security conferences.Posts info on ADSecurity.org

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 4: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Agenda• The “Cloud”

• Attacking the Cloud

• Cloud Security Controls

• Auditing

• Administration

• Controlling Access

• Password Insight

• Cloud Security “Tune Up”

• Testing Defenses

• Office 365 Subscriptions & Capability

• Best Practices & Wrap-upSean Metcalf (@PyroTek3) TrimarcSecurity.com

Page 5: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Source: Microsoft Ignite Conference 2018https://myignite.techcommunity.microsoft.com/sessions/64565?source=sessions

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 6: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Internal Network

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

“The cloud is more secure since _____ spends millions every year on cloud security”

Page 7: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Internal Network

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 8: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Anywhere Cloud Access

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 9: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attackers Love the Cloud

Source: Microsoft Ignite Conference 2018

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 10: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacks on the CloudSource: Microsoft Ignite Conference 2018

https://myignite.techcommunity.microsoft.com/sessions/64523?source=sessions[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 11: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacks on the Cloud

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 12: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Cloud Attack TimelineSource: Microsoft Ignite Conference 2018

https://myignite.techcommunity.microsoft.com/sessions/64523?source=sessions[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 13: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacking the Cloud: Password Spraying

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 14: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

EWS Capability

•Availability

•Bulk Transfer Conversations Delegate Management

• Exchange Store Search

• Exchange Search Federated Sharing Folder

• Inbox Rules Item

•Mail Tips Messaging Records Management

•Message Tracking Notification

• Service Configuration Synchronization

•Unified Messaging User Configuration Utility

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 15: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacking the Cloud: Password Spraying

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 16: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacking the Cloud: Password Spraying

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 17: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacking the Cloud: Password Spraying

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 18: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacking the Cloud: Password Spraying

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 19: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacking the Cloud: Password Spraying

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 20: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Attacking the Cloud: Password Spraying

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 21: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Microsoft Cloud Security Controls

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 22: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 23: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure Identity Protection

• Included with Azure AD Premium

• Have to “install” via the Azure Marketplace (portal.azure.com)

• Dashboard covering identity risk.

• Provides automatic remediation of “risky” sign-ins

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 24: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 25: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enable Risk-based Policies

• Requires Azure Identity Protection (included with Azure AD Premium)

• Assigns a risk level during sign-in

• Risk level determines action• Force password change

• Require MFA registration

• MFA for higher risk authentication

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 26: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enable Sign-in Risk Policy

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Is this a “risky sign-in”?• Anonymous IP• Unfamiliar location

Page 27: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enable User Risk Remediation Policy

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

What’s the chance the account is compromised?

• Some detected in real-time• ~14 day learning period

Page 28: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enable User Risk Remediation Policy

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

https://docs.microsoft.com/en-us/azure/active-directory/identity-protection/howto-sign-in-risk-policy

Page 29: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Auditing

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 30: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Microsoft Cloud AuditingAudit Item Category Enabled by Default Retention

User Activity Office 365 Security & Compliance Center

No 90 days

Admin Activity Office 365 Security & Compliance Center

No 90 days

Mailbox Auditing Exchange Online No* 90 days

Sign-in Activity Azure AD (P1) Yes 30 days

Users at Risk Azure AD Yes 7 days30 days (AAD P1)90 days (AAD P2)

Risky Sign-ins Azure AD Yes 7 days30 days (AAD P1)90 days (AAD P2)

Azure MFA Usage Azure AD Yes 30 days

Directory Audit Azure AD Yes 7 days30 days (Azure AD P1/P2)

* Microsoft is gradually enabling mailbox auditing for tenants.[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 31: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enable User & Admin Activity Auditing

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 32: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enable User & Admin Activity Auditing

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 33: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Get Mailbox Auditing

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 34: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enable Mailbox Auditing

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 35: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure Log Retention: Log Analytics (Preview)

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 36: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 37: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Protecting Administration

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 38: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Cloud Administration Protection

• Only cloud admin accounts are in privileged groups.

• Require all cloud admin accounts to use MFA (Microsoft Authenticator only).

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 39: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

“Break Glass” Cloud Admin Account

• New account designated as the Microsoft Cloud Admin account.

• Has permanent membership in the most privileged groups.

• Is excluded from most security controls: MFA and Conditional Access policies.

• Has a strong password.

• Only used in emergencies.

• All other cloud admin accounts have strong security controls (MFA, etc.)

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 40: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Audit Privileged Group Membership

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 41: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 42: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 43: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Leverage PIM

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 44: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Controlling Access

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 45: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure AD Conditional Access

• Enforce different rules on authentication/access based on a variety of conditions.

• Control access based on:• Sign-in activity (anomalies?)

• Network location (corporate network vs internet)

• Device (AAD Joined?)

• Application

• Requires Azure AD P1

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 46: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Conditional Access

https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/overview

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 47: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Legacy Authentication

Source: Microsoft Ignite Conference 2018

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 48: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Legacy vs Modern Authentication

Legacy Auth

• Office 2010 and older

• Office 2013 (requires patch + reg key to support modern auth)

• Clients that use mail protocols such as IMAP/SMTP/POP

• Older PowerShell modules

Modern Auth

• Office 2013 (requires enabling)

• Office 2016 (PC & Mac)

• Outlook Mobile

• iOS 11 Mail app

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 49: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Legacy Authentication

Source: Microsoft Ignite Conference 2018

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 50: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Disable Legacy Auth

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 51: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Disable Service Access

• Outlook on the Web (OWA)

• Outlook desktop (MAPI)

• Exchange Web Services (EWS)

• Mobile (Exchange ActiveSync)

• IMAP

• POP

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 52: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure AD Connect Health - ADFS

https://techcommunity.microsoft.com/t5/Azure-Active-Directory-Identity/Monitor-your-ADFS-sign-in-activity-using-Azure-AD-Connect-Health/ba-p/245395

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 53: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Gaining Password Insight[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 54: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure AD Smart Lockout (Public Preview)

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

https://techcommunity.microsoft.com/t5/Azure-Active-Directory-Identity/Azure-AD-Password-Protection-and-Smart-Lockout-are-now-in-Public/ba-p/245423

Page 55: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Password Hash Sync, What & Why?• Azure AD Connect provides capability.

• Requests password hashes from Active Directory Domain Controllers on-prem.

• Hashes these hashes (MD4+salt+PBKDF2+HMAC-SHA256)

• Sends to Azure AD tenant.

• Microsoft can identify and flag Azure AD users with bad passwords.

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 56: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure AD Premium Password Protection (Public Preview)

• On-prem Active Directory solution.

• Microsoft Password Filter deployed to DCs.

• 1-2 Proxy servers configured in the AD forest.

• Blocks >500 commonly used passwords (plus > 1M character substitution of the passwords).

• Audit or Enforce password restrictions.

• Usage reporting (Get-AzureADPasswordProtectionSummaryReport)

https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-password-ban-bad-on-premises

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 57: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure AD Premium Password Protection

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 58: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 59: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Microsoft Cloud Security “Tune Up”

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 60: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Secure Score

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 61: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Secure Score

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 62: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 63: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Secure Score – Highest Priority ItemsAction Score Increase

Enable MFA for Azure AD privileged roles 50

Enable MFA for users 30

Enable sign-in risk policy 30

Enable user risk policy 30

Enable Client Rules Forwarding Block 20

Enable Cloud App Security Console 20

Enable Data Loss Prevention policies 20

Enable Microsoft Intune Mobile Device Management 20

Enable policy to block legacy authentication 20

Ensure all users are registered for multi-factor authentication 20

Review permissions & block risky OAuth applications connected 20

Set automated notification for new OAuth applications connected 20

Set automated notifications for new and trending cloud applications 20

Recommended ASAP

Additional subscription required

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 64: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 65: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 66: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 67: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 68: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Testing Defenses

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

https://docs.microsoft.com/en-us/office365/securitycompliance/attack-simulator

Page 69: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Password Spray

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 70: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack : Password Spray

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 71: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Password Spray

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 72: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Password Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 73: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Password Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 74: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Password Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 75: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Password Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 76: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Phishing Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 77: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Phishing Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 78: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Phishing Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 79: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Phishing Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 80: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Simulate the Attack: Phishing Attack

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 81: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 82: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 83: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 84: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 85: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 86: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 87: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Office 365 Subscriptions(Capability & Cost)

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 88: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Office 365 Enterprise TiersEnterprise 1 (E1) - $8 user/month Enterprise 3 (E3) - $20 user/month Enterprise 5 (E5) - $35 user/month

50 GB mailbox 50 GB mailbox 100 GB mailbox

File storage and sharing with 1 TB OneDrive storage

Unlimited personal cloud storage Unlimited personal cloud storage

No Office installed apps Desktop versions of Office applications (One license covers 5 phones, 5 tablets, and 5 PCs or Macs per user )

Desktop versions of Office applications (One license covers 5 phones, 5 tablets, and 5 PCs or Macs per user )

eDiscovery with in-place search, hold, and export

eDiscovery with in-place search, hold, and export

Customer Lockbox

Office ATPAuto classification, smart import, and more with Advanced Data Governance

Office 365 Cloud App Security[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 89: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Azure Active Directory Options• Free

• Basic: $1 per user monthly• No object limit & Basic reports

• P1: $6 per user monthly• Self-Service Group and app Management• Self Service Password Reset/Change/Unlock• Two-way sync between on-prem & Azure AD• Multi-Factor Authentication (Cloud and On-premises (MFA Server))• Cloud App Discovery• Conditional Access based on group, location, and device state• Connect Health• Microsoft Cloud App Security integration• MDM auto-enrollment

• P2: $9 per user monthly• Includes P1 features• Identity Protection• Privileged Identity Management• Access Reviews

https://azure.microsoft.com/en-us/pricing/details/active-directory/

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 90: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Enterprise Mobility + Security Options

Azure AD P1: $6 Azure AD P2: $9

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 91: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Approximate Microsoft Cloud Cost ($26 - $50 user/month)• Office 365 E3 & Azure AD

• Office 365 E3 ($20) + Azure AD P1 ($6) = $26/user/month

• Office 365 E3 ($20) + Azure AD P2 ($9) = $29/user/month

• Office 365 E5 & Azure AD• Office 365 E5 ($35) + Azure AD P1 ($6) = $41/user/month

• Office 365 E5 ($35) + Azure AD P2 ($9) = $44/user/month

• Office 365 E3 & Enterprise Mobility + Security• Office 365 E3 ($20) + Enterprise Mobility + Security E3 ($8.74) = ~$29/user/month

• Office 365 E3 ($20) + Enterprise Mobility + Security E5 ($14.80) = ~$35/user/month

• Office 365 E5 & Enterprise Mobility + Security• Office 365 E5 ($35) + Enterprise Mobility + Security E3 ($8.74) = ~$44/user/month

• Office 365 E5 ($35) + Enterprise Mobility + Security E5 ($14.80) = ~$50/user/month[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 92: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Cloud Security Best Practices[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 93: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Microsoft Cloud Recommendations Summary• Disable user access protocols that aren't required - goal is Modern Auth with MFA.

• Enable user and admin activity logging in Office 365 (UnifiedAuditLogIngestionEnabled).

• Enable mailbox activity auditing on all O365 mailboxes.

• Review the recommendations in Office Secure Score and implement as many as possible.

• Enable “Password Hash Sync”

• Enable self-service password reset

• Ensure all users are registered for MFA

• Enable MFA for all users

• Enable sign-in & user risk policy

• Conditional Access: Block Legacy Auth (most attacks leverage legacy auth)

• Monitor App registrations.

• Audit consented permissions for apps & user access to apps[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 94: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Microsoft Cloud: Protecting Admin Accounts

• Enforce MFA on all admin accounts•Many of the basics remain the same

• Least privilege is key and poorly understood in many cloud implementations

• Least access, use the security features provided by the cloud

• Cloud admin workstations – treat same as privileged users

• Limit admin role membership and monitor group membership. PIM can help.

[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]

Page 95: TrimarcSecurity.com ] - Active Directory Security · Azure AD Premium Password Protection (Public Preview) •On-prem Active Directory solution. •Microsoft Password Filter deployed

Summary

• The cloud isn’t inherently secure.

• There are many security features and controls that are available.

• Security controls need to be researched, tested, and implemented.

• Security in the cloud may cost extra.

Sean Metcalf (@Pyrotek3)

s e a n [@] TrimarcSecurity.comwww.ADSecurity.orgTrimarcSecurity.com

Slides: Presentations.ADSecurity.org[ Sean Metcalf | @PyroTek3 | TrimarcSecurity.com ]