TMAegisBeta
Mais regras para windows

Windows (desktop and server)

TMA-WIN10-2.2.1

Ensure 'Access Credential Manager as a trusted caller' is set to 'No One'

AltaNível 1Automatizadawindows

Descrição

This security setting is used by Credential Manager during Backup and Restore. No accounts should have this user right, as it is only assigned to Winlogon. Users' saved credentials might be compromised if this user right is assigned to other entities. The recommended state for this setting is: No One.

Como é verificado

Método de auditoria: Comando shell

shell
$f = Join-Path $env:TEMP ('tmaegis-' + [guid]::NewGuid().ToString() + '.inf'); secedit /export /cfg $f /areas SECURITYPOLICY USER_RIGHTS /quiet | Out-Null; $c = Get-Content $f -ErrorAction SilentlyContinue; Remove-Item $f -Force -ErrorAction SilentlyContinue; $line = $c | Where-Object { $_ -match '^\s*SeTrustedCredManAccessPrivilege\s*=' } | Select-Object -First 1; $v = if ($line) { ($line -split '=', 2)[1].Trim().Trim('"') } else { $null }; $have = @(if ($v) { $v -split ',' | ForEach-Object { $_.Trim().TrimStart('*') } | Where-Object { $_ } }); if ((($have | Sort-Object -Unique) -join ',') -eq '') { 'compliant' } else { 'non-compliant: ' + ($have -join ',') }
Saída esperada
compliant

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

Set through Group Policy (domain policy for domain members): Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Access Credential Manager as a trusted caller

Propriedades

Sistemas operacionais
windows-10
Tags
cis-convertedseceditwindows
Referência
CIS Microsoft Windows 10 Enterprise Benchmark v4.0.0 - 2.2.1

Verificar este host

Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.

shell
tmaegis scan --target windows