💼 Management Samenvatting
Modern Authentication (OAuth 2.0) voor Exchange Online maakt multifactorauthenticatie, Conditional Access beleidsregels en token-based authentication mogelijk, ter vervanging van legacy Basic Authentication die alleen username en password ondersteunt.
✓ Exchange Online
Legacy Basic Authentication (gebruikersnaam + wachtwoord) omzeilt essentiële beveiligingsmechanismen: multifactorauthenticatie wordt niet ondersteund (geen second factor mogelijk), Conditional Access beleidsregels worden genegeerd, credentials worden onbeperkt gecached (geen token expiratie), en het is kwetsbaar voor credential stuffing en brute force aanvallen. Modern Authentication daarentegen maakt MFA mogelijk voor email toegang, dwingt Conditional Access beleidsregels af, gebruikt short-lived tokens die automatisch expiren, en ondersteunt phishing-resistente authenticatiemethoden. Dit is een essentiële security upgrade die moet worden geïmplementeerd.
Connection:
Connect-ExchangeOnlineRequired Modules: ExchangeOnlineManagement
Implementatie
Deze control verifieert dat Modern Authentication is ingeschakeld voor de Exchange Online organization. Alle Outlook clients (2013 en nieuwer), mobile apps, en derde partij applicaties moeten OAuth 2.0 tokens gebruiken in plaats van Basic Authentication credentials. Modern Authentication is standaard ingeschakeld sinds 2020, maar kan per ongeluk zijn uitgeschakeld. Na het inschakelen van Modern Auth moet Basic Authentication worden geblokkeerd via een Conditional Accesssbeleid.
- Stap 1: Verbind met Exchange Online PowerShell: Connect-ExchangeOnline
- Stap 2: Controleer huidige status: Get-OrganizationConfig | Select-Object -Property OAuth2ClientProfileSchakel ind
- Stap 3: Als False, schakel in: Set-OrganizationConfig -OAuth2ClientProfileSchakel ind $true
- Stap 4: Verifieer per protocol: Get-AuthenticationPolicy
- Stap 5: Communiceer naar gebruikers om Outlook te updaten indien oude versies worden gebruikt
- Stap 6: Blokkeer Basic Authentication via Conditional Accesssbeleid
Vereisten
Voor het Implementeereren van Modern Authentication zijn de volgende vereisten van toepassing:
- Exchange Online licentie (deel van M365)
- Exchange Administrator rol of Globale beheerder rechtenistrator
- Outlook clients versie 2013 of nieuwer
- Modern Auth-capable email applicaties
- Azure AD met voorwaardelijke toegang licenties (Azure AD P1 of hoger)
- Communicatieplan voor gebruikers met oude Outlook versies
Implementeeratie
Modern Authentication kan worden geïmplementeerd via PowerShell:
Gebruik PowerShell-script modern-authentication-exchange.ps1 (functie Invoke-Monitoring) – PowerShell script voor verificatie van Modern Authentication status.
Handmatige verificatie en activering:
- Stap 1: Verbind met Exchange Online PowerShell: Connect-ExchangeOnline
- Stap 2: Controleer huidige status: Get-OrganizationConfig | Select-Object -Property OAuth2ClientProfileSchakel ind
- Stap 3: Als False, schakel in: Set-OrganizationConfig -OAuth2ClientProfileSchakel ind $true
- Stap 4: Verifieer per protocol: Get-AuthenticationPolicy
- Stap 5: Communiceer naar gebruikers om Outlook te updaten indien oude versies worden gebruikt
- Stap 6: Blokkeer Basic Authentication via Conditional Accesssbeleid
Let op: Modern Authentication is standaard ingeschakeld sinds oktober 2020. Controleer of het niet per ongeluk is uitgeschakeld.
monitoring
Gebruik PowerShell-script modern-authentication-exchange.ps1 (functie Invoke-Monitoring) – Controleert of Modern Authentication correct is geConfigureererd.
monitor regelmatig:
- OAuth2ClientProfileSchakel ind status via Get-OrganizationConfig
- sign-in logs in Azure AD voor legacy authentication pogingen
- Client app usage statistics om oude client versies te identificeren
- Failed authentication logt voor blocked Basic Auth pogingen
- User feedback over authentication issues na Implementeeratie
Remediatie
Als Modern Authentication uitgeschakeld blijkt:
Gebruik PowerShell-script modern-authentication-exchange.ps1 (functie Invoke-Remediation) – Automatische activering van Modern Authentication.
- Activeer onmiddellijk via Set-OrganizationConfig -OAuth2ClientProfileSchakel ind $true
- Verifieer dat alle services Modern Auth ondersteunen
- Update legacy Outlook clients (versies ouder dan 2013)
- Implementeereer Conditional Accesssbeleid om Basic Auth te blokkeren
- monitor sign-in logs voor problemen na activering
Compliance en Auditing
Deze control voldoet aan de volgende compliance frameworks:
- CIS Microsoft 365 Foundations Benchmark - control 1.3.1 (zorg ervoor dat modern authentication voor Exchange Online is Schakel ind)
- BIO 09.04.02 - Veilige authenticatiemechanismen
- ISO 27001:2022 A.9.4.2 - veilige log-on procedures
- ISO 27001:2022 A.9.4.3 - Wachtwoordbeheersysteem
- NIS2 Artikel 21 - Authenticatie en toegangscontrole
- OWASP Top 10 A07:2021 - Identification en Authentication Failures
Compliance & Frameworks
- CIS M365: Control 1.3.1 (L1) - zorg ervoor dat modern authentication voor Exchange Online is Schakel ind
- BIO: 09.04.02 - Gebruik van moderne authenticatieprotocollen
- ISO 27001:2022: A.9.4.2, A.9.4.3 - Veilige log-on procedures en wachtwoordbeheer
- NIS2: Artikel - Sterke authenticatiemechanismen en toegangscontrole
Automation
Gebruik het onderstaande PowerShell script om deze security control te monitoren en te implementeren. Het script bevat functies voor zowel monitoring (-Monitoring) als remediation (-Remediation).
Risico zonder implementatie
Management Samenvatting
Schakel Modern Authentication in voor Exchange Online om MFA en voorwaardelijke toegang ondersteunen mogelijk te maken. Vervangt onveilige Basic Authentication met OAuth 2.0 tokens. Standaard ingeschakeld sinds 2020 - verifieer dat het niet is uitgeschakeld. Voldoet aan CIS 1.3.1 L1 en BIO 09.04. Verificatie en activering: 1-3 uur inclusief testing.
- Implementatietijd: 3 uur
- FTE required: 0.02 FTE