Dit regelen configureert priority account bescherming via Microsoft Intune apparaat configuratie beleid of compliance policies om Windows endpoints te beveiligen volgens security best practices.
Vereisten
m365
Implementatie
Gebruik PowerShell-script priority-account-bescherming.ps1 (functie Invoke-Monitoring) β Monitoren.
monitoring
Gebruik PowerShell-script priority-account-protection.ps1 (functie Invoke-Monitoring) β Controleren.
Remediatie
Gebruik PowerShell-script priority-account-bescherming.ps1 (functie Invoke-Remediation) β Herstellen.
Compliance en Auditing
Beleid documentatie
Compliance & Frameworks
CIS M365: Control 18.9.19.2 (L1) - CIS Security Benchmark aanbevelingen
BIO: 16.01 - BIO Baseline Informatiebeveiliging Overheid - 16.01 - Gebeurtenissen logging en audittrails
ISO 27001:2022: A.12.4.1 - ISO 27001:2022 - Gebeurtenissen logging en audittrails
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).
PowerShell
<#
.SYNOPSIS
Priority Account Protection Configuration
.DESCRIPTION
Ensures VIP/priority accounts are tagged and receive enhanced protection.
Priority accounts (executives, board) are high-value targets.
.NOTES
Filename: priority-account-protection.ps1
Author: Nederlandse Baseline voor Veilige Cloud
Requires: Microsoft Defender for Office 365 Plan 2
.EXAMPLE
.\priority-account-protection.ps1 -Monitoring
Check priority account configuration
#>#Requires -Version 5.1#Requires -Modules Microsoft.Graph
[CmdletBinding()]
param(
[Parameter(Mandatory = $false)]
[switch]$Monitoring
)
$ErrorActionPreference = 'Stop'
Write-Host "`n========================================" -ForegroundColor Cyan
Write-Host "Priority Account Protection" -ForegroundColor Cyan
Write-Host "========================================`n" -ForegroundColor Cyan
function Invoke-Monitoring {
try {
Write-Host "β οΈ Priority accounts require manual verification in Security Portal" -ForegroundColor Yellow
Write-Host "`nTo check:" -ForegroundColor Cyan
Write-Host " 1. Microsoft 365 Defender Portal (security.microsoft.com)" -ForegroundColor Gray
Write-Host " 2. Email & collaboration > Policies & rules" -ForegroundColor Gray
Write-Host " 3. Threat policies > Priority accounts" -ForegroundColor Gray
Write-Host "`nWho should be priority accounts?" -ForegroundColor Cyan
Write-Host " β’ C-level executives (CEO, CFO, CISO)" -ForegroundColor Gray
Write-Host " β’ Board of directors" -ForegroundColor Gray
Write-Host " β’ Executive assistants" -ForegroundColor Gray
Write-Host " β’ Legal team leads" -ForegroundColor Gray
Write-Host " β’ Anyone regularly targeted by attackers" -ForegroundColor Gray
Write-Host "`nBenefits:" -ForegroundColor Cyan
Write-Host " β’ Enhanced visibility in security dashboards" -ForegroundColor Gray
Write-Host " β’ Priority in threat investigation" -ForegroundColor Gray
Write-Host " β’ Additional protection policies" -ForegroundColor Gray
Write-Host " β’ Alert aggregation for VIPs" -ForegroundColor Gray
Write-Host "`nBest practice: 10-50 priority accounts" -ForegroundColor Cyan
Write-Host "`nβ οΈ Manual verification required" -ForegroundColor Yellow
exit 0
}
catch {
Write-Host "`n[FAIL] ERROR: $_" -ForegroundColor Red
exit 2
}
}
try {
if ($Monitoring) {
Invoke-Monitoring
}
else {
Write-Host "Use: -Monitoring" -ForegroundColor Yellow
Write-Host "`nNote: Priority accounts tagged in Microsoft 365 Defender Portal" -ForegroundColor Cyan
}
}
catch {
throw
}
finally {
Write-Host "`n========================================`n" -ForegroundColor Cyan
}
function Invoke-Remediation {
<#
.SYNOPSIS
Herstelt de configuratie naar de gewenste staat
.DESCRIPTION
Note: This is a monitoring-only control, remediation delegates to monitoring
#>
[CmdletBinding()]
param()
Write-Host "[INFO] This is a monitoring-only control" -ForegroundColor Yellow
Write-Host "[INFO] Running monitoring check instead..." -ForegroundColor Cyan
Invoke-Monitoring
}