πΌ Management Samenvatting
Disable all Visio macros except digitally signed - ONLY signed macros can run (unsigned macros BLOCKED, no user override).
Visio macro attacks: Visio files (.vsd, .vsdx, .vsdm): Diagrams, flowcharts, VBA macros: Automation (shape manipulation, data links - commonly used), Unsigned macros: Malware vector (no verification), Attack: Malicious .vsdm file (macro malware) β email attachment β user opens β unsigned macro BLOCKED. Signed macros: Code signing certificate (publisher identity verified), Trusted: Certificate in Trusted Publishers β auto-run, Not trusted: User prompt (add to trusted?), Unsigned: BLOCKED (no user override - protection against social engineering). Enterprise: Code-sign internal Visio templates/stencils β push certificate (auto-allow).
Connection:
Registry-basedRequired Modules:
Implementatie
Signed macros only: Policy: VBA Macro Notification Settings: Disable all except digitally signed macros, Effect: Unsigned macros: BLOCKED (notification: 'Macros have been disabled'), Signed (trusted): Auto-run, Signed (not trusted): User prompt (trust publisher?), User override: NOT possible (unsigned always blocked).
Vereisten
- Visio 2016+
- Code signing infrastructure (if internal macros)
- Trusted Publishers: Certificate deployment (GPO/Intune)
- Intune of GPO
Implementatie
Gebruik PowerShell-script macro-notification-signed-only.ps1 (functie Invoke-Implementation) β Implementeren.
Intune Settings Catalog: Visio\Security\Trust Center β VBA Macro Notification Settings: Disable all except digitally signed macros. Certificate deployment: Intune (Trusted Publishers).
Compliance
CIS Office Benchmark L1, BIO 12.02 (Macro blocking), DISA STIG, Microsoft Security Baseline.
Monitoring
Gebruik PowerShell-script macro-notification-signed-only.ps1 (functie Invoke-Monitoring) β Controleren.
Remediatie
Gebruik PowerShell-script macro-notification-signed-only.ps1 (functie Invoke-Remediation) β Herstellen.
Compliance & Frameworks
- CIS M365: Control Office - Macro security (L1) -
- BIO: 12.02.01 -
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
Visio macros: Signed ONLY. Unsigned blocked (no override). Code signing required. Business impact: Medium (Visio macros common). Implementatie: 1-4 uur.
- Implementatietijd: 4 uur
- FTE required: 0.01 FTE