Start >
Office >
Outlook >
Turn Off Rss Feature
L1
BIO 16.01
ISO A.12.4.1
CIS 18.9.19.2
Turn Off Rss Feature
π
2025-10-30
β’
β±οΈ 2 minuten lezen
β’
π΄ Must-Have
π₯ Download
π Bookmark
π€ Share
πΌ Management Samenvatting
Deze security regelen waarborgt de correcte configuratie van beveiligingsinstellingen op Windows endpoints.
Implementatie
2u (tech: 1u)
Van toepassing op:
β Windows
Deze instelling is onderdeel van de Windows security baseline en beschermt tegen bekende aanvalsvectoren door het afdwingen van veilige configuraties.
PowerShell Modules Vereist
Primary API: Graph
Connection: Connect-MgGraph
Required Modules: Microsoft.Graph.DeviceManagement
Implementatie
Dit regelen configureert turn off rss feature via Microsoft Intune apparaat configuratie beleid of compliance policies om Windows endpoints te beveiligen volgens security best practices.
Vereisten
office
Implementatie
Gebruik PowerShell-script turn-off-rss-feature.ps1 (functie Invoke-Monitoring) β Monitoren.
monitoring
Gebruik PowerShell-script turn-off-rss-feature.ps1 (functie Invoke-Monitoring) β Controleren.
Gebruik PowerShell-script turn-off-rss-feature.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).
param (
[string]$RegistryPath = "HKCU:\Software\Policies\Microsoft\Office\16 .0 \OUTLOOK\Security",
[switch ]$Monitoring ,
[switch ]$Remediation ,
[switch ]$Revert ,
[switch ]$WhatIf
)
function Invoke-Monitoring {
Write-Host "Monitoring O365-OU-000009 : turn off rss feature" -ForegroundColor Green
try {
$valueName = "turnoffrssfeature"
$expectedValue = 1
if (-not (Test-Path $RegistryPath )) {
Write-Host "β Registry path does not exist: $RegistryPath " -ForegroundColor Red
return $false
}
$currentValue = Get-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
if ($currentValue -and $currentValue .$valueName -eq $expectedValue ) {
Write-Host "β Control compliant: $valueName = $expectedValue " -ForegroundColor Green
return $true
}
else {
$actualValue = if ($currentValue ) { $currentValue .$valueName } else { "Not Set" }
Write-Host "β Control non-compliant: $valueName = $actualValue (Expected: $expectedValue )" -ForegroundColor Red
return $false
}
}
catch {
Write-Host "β Error checking registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Remediation {
Write-Host "Remediating O365-OU-000009 : turn off rss feature" -ForegroundColor Yellow
try {
if (-not (Test-Path $RegistryPath )) {
Write-Host "Creating registry path: $RegistryPath " -ForegroundColor Yellow
New-Item -Path $RegistryPath -Force | Out-Null
}
$valueName = "turnoffrssfeature"
$expectedValue = 1
Set-ItemProperty -Path $RegistryPath -Name $valueName -Value $expectedValue -Type DWord -Force
Write-Host "β Registry value set successfully: $valueName = $expectedValue " -ForegroundColor Green
Start-Sleep -Seconds 1
$complianceResult = Invoke-Monitoring
return $complianceResult
}
catch {
Write-Host "β Error configuring registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Revert {
Write-Host "Reverting O365-OU-000009 : turn off rss feature
" -ForegroundColor Yellow
try {
if ($WhatIf ) {
Write-Host " [WhatIf] Would remove registry value" -ForegroundColor Cyan
return $true
}
$valueName = "turnoffrssfeature"
if (Test-Path $RegistryPath ) {
Remove-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
Write-Host " Removed registry value: $valueName " -ForegroundColor Green
}
return $true
}
catch {
Write-Host " Error during revert:
param (
[string]$RegistryPath = "HKCU:\Software\Policies\Microsoft\Office\16 .0 \OUTLOOK\Security",
[switch ]$Monitoring ,
[switch ]$Remediation ,
[switch ]$Revert ,
[switch ]$WhatIf
)
function Invoke-Monitoring {
Write-Host "Monitoring O365-OU-000009 : turn off rss feature" -ForegroundColor Green
try {
$valueName = "turnoffrssfeature"
$expectedValue = 1
if (-not (Test-Path $RegistryPath )) {
Write-Host "β Registry path does not exist: $RegistryPath " -ForegroundColor Red
return $false
}
$currentValue = Get-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
if ($currentValue -and $currentValue .$valueName -eq $expectedValue ) {
Write-Host "β Control compliant: $valueName = $expectedValue " -ForegroundColor Green
return $true
} else {
$actualValue = if ($currentValue ) { $currentValue .$valueName } else { "Not Set" }
Write-Host "β Control non-compliant: $valueName = $actualValue (Expected: $expectedValue )" -ForegroundColor Red
return $false
}
} catch {
Write-Host "β Error checking registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Remediation {
Write-Host "Remediating O365-OU-000009 : turn off rss feature" -ForegroundColor Yellow
try {
if (-not (Test-Path $RegistryPath )) {
Write-Host "Creating registry path: $RegistryPath " -ForegroundColor Yellow
New-Item -Path $RegistryPath -Force | Out-Null
}
$valueName = "turnoffrssfeature"
$expectedValue = 1
Set-ItemProperty -Path $RegistryPath -Name $valueName -Value $expectedValue -Type DWord -Force
Write-Host "β Registry value set successfully: $valueName = $expectedValue " -ForegroundColor Green
Start-Sleep -Seconds 1
$complianceResult = Invoke-Monitoring
return $complianceResult
} catch {
Write-Host "β Error configuring registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
if ($Monitoring ) {
$result = Invoke-Monitoring
exit $(if ($result ) { 0 } else { 1 })
}
elseif ($Remediation ) {
$result = Invoke-Remediation
exit $(if ($result ) { 0 } else { 1 })
}
elseif ($Revert ) {
$result = Invoke-Revert
exit $(if ($result ) { 0 } else { 1 })
}
else {
Write-Host "Usage: [-Monitoring] [-Remediation] [-Revert] [-WhatIf]" -ForegroundColor Yellow
}
}
catch {
Write-Host "Script execution error:
param (
[string]$RegistryPath = "HKCU:\Software\Policies\Microsoft\Office\16 .0 \OUTLOOK\Security",
[switch ]$Monitoring ,
[switch ]$Remediation ,
[switch ]$Revert ,
[switch ]$WhatIf
)
function Invoke-Monitoring {
Write-Host "Monitoring O365-OU-000009 : turn off rss feature" -ForegroundColor Green
try {
$valueName = "turnoffrssfeature"
$expectedValue = 1
if (-not (Test-Path $RegistryPath )) {
Write-Host "β Registry path does not exist: $RegistryPath " -ForegroundColor Red
return $false
}
$currentValue = Get-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
if ($currentValue -and $currentValue .$valueName -eq $expectedValue ) {
Write-Host "β Control compliant: $valueName = $expectedValue " -ForegroundColor Green
return $true
}
else {
$actualValue = if ($currentValue ) { $currentValue .$valueName } else { "Not Set" }
Write-Host "β Control non-compliant: $valueName = $actualValue (Expected: $expectedValue )" -ForegroundColor Red
return $false
}
}
catch {
Write-Host "β Error checking registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Remediation {
Write-Host "Remediating O365-OU-000009 : turn off rss feature" -ForegroundColor Yellow
try {
if (-not (Test-Path $RegistryPath )) {
Write-Host "Creating registry path: $RegistryPath " -ForegroundColor Yellow
New-Item -Path $RegistryPath -Force | Out-Null
}
$valueName = "turnoffrssfeature"
$expectedValue = 1
Set-ItemProperty -Path $RegistryPath -Name $valueName -Value $expectedValue -Type DWord -Force
Write-Host "β Registry value set successfully: $valueName = $expectedValue " -ForegroundColor Green
Start-Sleep -Seconds 1
$complianceResult = Invoke-Monitoring
return $complianceResult
}
catch {
Write-Host "β Error configuring registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Revert {
Write-Host "Reverting O365-OU-000009 : turn off rss feature
" -ForegroundColor Yellow
try {
if ($WhatIf ) {
Write-Host " [WhatIf] Would remove registry value" -ForegroundColor Cyan
return $true
}
$valueName = "turnoffrssfeature"
if (Test-Path $RegistryPath ) {
Remove-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
Write-Host " Removed registry value: $valueName " -ForegroundColor Green
}
return $true
}
catch {
Write-Host " Error during revert:
param (
[string]$RegistryPath = "HKCU:\Software\Policies\Microsoft\Office\16 .0 \OUTLOOK\Security",
[switch ]$Monitoring ,
[switch ]$Remediation ,
[switch ]$Revert ,
[switch ]$WhatIf
)
function Invoke-Monitoring {
Write-Host "Monitoring O365-OU-000009 : turn off rss feature" -ForegroundColor Green
try {
$valueName = "turnoffrssfeature"
$expectedValue = 1
if (-not (Test-Path $RegistryPath )) {
Write-Host "β Registry path does not exist: $RegistryPath " -ForegroundColor Red
return $false
}
$currentValue = Get-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
if ($currentValue -and $currentValue .$valueName -eq $expectedValue ) {
Write-Host "β Control compliant: $valueName = $expectedValue " -ForegroundColor Green
return $true
} else {
$actualValue = if ($currentValue ) { $currentValue .$valueName } else { "Not Set" }
Write-Host "β Control non-compliant: $valueName = $actualValue (Expected: $expectedValue )" -ForegroundColor Red
return $false
}
} catch {
Write-Host "β Error checking registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Remediation {
Write-Host "Remediating O365-OU-000009 : turn off rss feature" -ForegroundColor Yellow
try {
if (-not (Test-Path $RegistryPath )) {
Write-Host "Creating registry path: $RegistryPath " -ForegroundColor Yellow
New-Item -Path $RegistryPath -Force | Out-Null
}
$valueName = "turnoffrssfeature"
$expectedValue = 1
Set-ItemProperty -Path $RegistryPath -Name $valueName -Value $expectedValue -Type DWord -Force
Write-Host "β Registry value set successfully: $valueName = $expectedValue " -ForegroundColor Green
Start-Sleep -Seconds 1
$complianceResult = Invoke-Monitoring
return $complianceResult
} catch {
Write-Host "β Error configuring registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
if ($Monitoring ) {
$result = Invoke-Monitoring
exit $(if ($result ) { 0 } else { 1 })
} elseif ($Remediation ) {
$result = Invoke-Remediation
exit $(if ($result ) { 0 } else { 1 })
} else {
Write-Host "Usage: .\turn-off-rss-feature.ps1 [-Monitoring] [-Remediation]" -ForegroundColor Yellow
Write-Host " -Monitoring: Check current compliance status" -ForegroundColor White
Write-Host " -Remediation: Apply recommended configuration" -ForegroundColor White
}
" -ForegroundColor Red
return $false
}
}
try {
if ($Monitoring ) {
$result = Invoke-Monitoring
exit $(if ($result ) { 0 } else { 1 })
}
elseif ($Remediation ) {
$result = Invoke-Remediation
exit $(if ($result ) { 0 } else { 1 })
}
else {
Write-Host "Usage: .\turn-off-rss-feature.ps1 [-Monitoring] [-Remediation]" -ForegroundColor Yellow
Write-Host " -Monitoring: Check current compliance status" -ForegroundColor White
Write-Host " -Remediation: Apply recommended configuration" -ForegroundColor White
}
" -ForegroundColor Red
exit 1
}
" -ForegroundColor Red
return $false
}
}
try {
if ($Monitoring ) {
$result = Invoke-Monitoring
exit $(if ($result ) { 0 } else { 1 })
}
elseif ($Remediation ) {
$result = Invoke-Remediation
exit $(if ($result ) { 0 } else { 1 })
}
elseif ($Revert ) {
$result = Invoke-Revert
exit $(if ($result ) { 0 } else { 1 })
}
else {
Write-Host "Usage: [-Monitoring] [-Remediation] [-Revert] [-WhatIf]" -ForegroundColor Yellow
}
}
catch {
Write-Host "Script execution error:
param (
[string]$RegistryPath = "HKCU:\Software\Policies\Microsoft\Office\16 .0 \OUTLOOK\Security",
[switch ]$Monitoring ,
[switch ]$Remediation ,
[switch ]$Revert ,
[switch ]$WhatIf
)
function Invoke-Monitoring {
Write-Host "Monitoring O365-OU-000009 : turn off rss feature" -ForegroundColor Green
try {
$valueName = "turnoffrssfeature"
$expectedValue = 1
if (-not (Test-Path $RegistryPath )) {
Write-Host "β Registry path does not exist: $RegistryPath " -ForegroundColor Red
return $false
}
$currentValue = Get-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
if ($currentValue -and $currentValue .$valueName -eq $expectedValue ) {
Write-Host "β Control compliant: $valueName = $expectedValue " -ForegroundColor Green
return $true
} else {
$actualValue = if ($currentValue ) { $currentValue .$valueName } else { "Not Set" }
Write-Host "β Control non-compliant: $valueName = $actualValue (Expected: $expectedValue )" -ForegroundColor Red
return $false
}
} catch {
Write-Host "β Error checking registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Remediation {
Write-Host "Remediating O365-OU-000009 : turn off rss feature" -ForegroundColor Yellow
try {
if (-not (Test-Path $RegistryPath )) {
Write-Host "Creating registry path: $RegistryPath " -ForegroundColor Yellow
New-Item -Path $RegistryPath -Force | Out-Null
}
$valueName = "turnoffrssfeature"
$expectedValue = 1
Set-ItemProperty -Path $RegistryPath -Name $valueName -Value $expectedValue -Type DWord -Force
Write-Host "β Registry value set successfully: $valueName = $expectedValue " -ForegroundColor Green
Start-Sleep -Seconds 1
$complianceResult = Invoke-Monitoring
return $complianceResult
} catch {
Write-Host "β Error configuring registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Revert {
Write-Host "Reverting O365-OU-000009 : turn off rss feature
" -ForegroundColor Yellow
try {
if ($WhatIf ) {
Write-Host " [WhatIf] Would remove registry value" -ForegroundColor Cyan
return $true
}
$valueName = "turnoffrssfeature"
if (Test-Path $RegistryPath ) {
Remove-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
Write-Host " Removed registry value: $valueName " -ForegroundColor Green
}
return $true
} catch {
Write-Host " Error during revert:
param (
[string]$RegistryPath = "HKCU:\Software\Policies\Microsoft\Office\16 .0 \OUTLOOK\Security",
[switch ]$Monitoring ,
[switch ]$Remediation ,
[switch ]$Revert ,
[switch ]$WhatIf
)
function Invoke-Monitoring {
Write-Host "Monitoring O365-OU-000009 : turn off rss feature" -ForegroundColor Green
try {
$valueName = "turnoffrssfeature"
$expectedValue = 1
if (-not (Test-Path $RegistryPath )) {
Write-Host "β Registry path does not exist: $RegistryPath " -ForegroundColor Red
return $false
}
$currentValue = Get-ItemProperty -Path $RegistryPath -Name $valueName -ErrorAction SilentlyContinue
if ($currentValue -and $currentValue .$valueName -eq $expectedValue ) {
Write-Host "β Control compliant: $valueName = $expectedValue " -ForegroundColor Green
return $true
}
else {
$actualValue = if ($currentValue ) { $currentValue .$valueName } else { "Not Set" }
Write-Host "β Control non-compliant: $valueName = $actualValue (Expected: $expectedValue )" -ForegroundColor Red
return $false
}
}
catch {
Write-Host "β Error checking registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
function Invoke-Remediation {
Write-Host "Remediating O365-OU-000009 : turn off rss feature" -ForegroundColor Yellow
try {
if (-not (Test-Path $RegistryPath )) {
Write-Host "Creating registry path: $RegistryPath " -ForegroundColor Yellow
New-Item -Path $RegistryPath -Force | Out-Null
}
$valueName = "turnoffrssfeature"
$expectedValue = 1
Set-ItemProperty -Path $RegistryPath -Name $valueName -Value $expectedValue -Type DWord -Force
Write-Host "β Registry value set successfully: $valueName = $expectedValue " -ForegroundColor Green
Start-Sleep -Seconds 1
$complianceResult = Invoke-Monitoring
return $complianceResult
}
catch {
Write-Host "β Error configuring registry setting: $($_ .Exception.Message)" -ForegroundColor Red
return $false
}
}
if ($Monitoring ) {
$result = Invoke-Monitoring
exit $(if ($result ) { 0 } else { 1 })
}
elseif ($Remediation ) {
$result = Invoke-Remediation
exit $(if ($result ) { 0 } else { 1 })
}
else {
Write-Host "Usage: .\turn-off-rss-feature.ps1 [-Monitoring] [-Remediation]" -ForegroundColor Yellow
Write-Host " -Monitoring: Check current compliance status" -ForegroundColor White
Write-Host " -Remediation: Apply recommended configuration" -ForegroundColor White
}
" -ForegroundColor Red
return $false
}
}
try {
if ($Monitoring ) {
$result = Invoke-Monitoring
exit $(if ($result ) { 0 } else { 1 })
} elseif ($Remediation ) {
$result = Invoke-Remediation
exit $(if ($result ) { 0 } else { 1 })
} else {
Write-Host "Usage: .\turn-off-rss-feature.ps1 [-Monitoring] [-Remediation]" -ForegroundColor Yellow
Write-Host " -Monitoring: Check current compliance status" -ForegroundColor White
Write-Host " -Remediation: Apply recommended configuration" -ForegroundColor White
}
" -ForegroundColor Red
exit 1
}
Risico zonder implementatie
Risico zonder implementatie
High: No auth tracking.
Management Samenvatting
Schakel in audit logging.
Implementatietijd: 2 uur
FTE required: 0.01 FTE