Xbox Live Networking Service Xboxnetapisvc Is Set To Disabled

💼 Management Samenvatting

Deze security regelen waarborgt de correcte configuratie van beveiligingsinstellingen op Windows endpoints.

Aanbeveling
IMPLEMENT
Risico zonder
High
Risk Score
7/10
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 xbox live networking service xboxnetapisvc is set to disabled via Microsoft Intune apparaat configuratie beleid of compliance policies om Windows endpoints te beveiligen volgens security best practices.

Vereisten

Microsoft Intune via device configuratiebeleidsregels

Implementatie

Gebruik PowerShell-script xbox-live-networking-service-xboxnetapisvc-is-set-to-disabled.ps1 (functie Invoke-Monitoring) – Monitoren.

monitoring

Gebruik PowerShell-script xbox-live-networking-service-xboxnetapisvc-is-set-to-disabled.ps1 (functie Invoke-Monitoring) – Controleren.

Remediatie

Gebruik PowerShell-script xbox-live-networking-service-xboxnetapisvc-is-set-to-disabled.ps1 (functie Invoke-Remediation) – Herstellen.

Compliance en Auditing

Beleid documentatie

Compliance & Frameworks

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 Disable Xbox Live Networking Service .DESCRIPTION Service: XboxNetApiSvc (Xbox Live Networking Service) Registry: HKLM\SYSTEM\CurrentControlSet\Services\XboxNetApiSvc\Start = 4 (Disabled) .NOTES Filename: xbox-live-networking-service-xboxnetapisvc-is-set-to-disabled.ps1 Author: Nederlandse Baseline voor Veilige Cloud #> #Requires -RunAsAdministrator #Requires -Version 5.1 [CmdletBinding()] param([Parameter(Mandatory = $true, ParameterSetName = 'Monitoring')][switch]$Monitoring, [Parameter(Mandatory = $true, ParameterSetName = 'Remediation')][switch]$Remediation, [Parameter(Mandatory = $true, ParameterSetName = 'Revert')][switch]$Revert, [switch]$WhatIf) $ErrorActionPreference = 'Stop' function Invoke-Monitoring { $svc = Get-Service -Name XboxNetApiSvc -ErrorAction SilentlyContinue; return @{ isCompliant = ($null -eq $svc -or $svc.StartType -eq 'Disabled') } } function Invoke-Remediation { Stop-Service -Name XboxNetApiSvc -Force -ErrorAction SilentlyContinue; Set-Service -Name XboxNetApiSvc -StartupType Disabled -ErrorAction SilentlyContinue; Write-Host "[OK] Xbox Live Networking Service Disabled" -ForegroundColor Green } function Invoke-Revert { Set-Service -Name XboxNetApiSvc -StartupType Manual -ErrorAction SilentlyContinue } try { switch ($PSCmdlet.ParameterSetName) { 'Monitoring' { $r = Invoke-Monitoring; exit $(if ($r.isCompliant) { 0 } else { 1 }) } 'Remediation' { Invoke-Remediation } 'Revert' { Invoke-Revert } } } catch { Write-Error $_; exit 2 }

Risico zonder implementatie

Risico zonder implementatie
High: No auth tracking.

Management Samenvatting

Schakel in audit logging.