The reconstructed evaluation script behind this rule's OVAL check(s) — every module a compound check combines, with this rule's own concrete values and DISA's SCC tool's real per-module mechanism curated from static teardown of SCC releases.
# Windows PowerShell
# Reconstructed from oval:mil.disa.fso.windows:def:543
# Network – Responder Driver
# Per-module read mechanism curated from static teardown of DISA's SCC tool
# (SCAP Compliance Checker) -- see the SCC Automation Reference above.
# registry_object (registry_test)
function test_1 {
return (((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOndomain' -ErrorAction SilentlyContinue) | Select-Object -ExpandProperty 'AllowRspndrOndomain') -eq 0)
}
# registry_object (registry_test)
function test_2 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOndomain')))
}
# registry_object (registry_test)
function test_3 {
return (((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOnPublicNet' -ErrorAction SilentlyContinue) | Select-Object -ExpandProperty 'AllowRspndrOnPublicNet') -eq 0)
}
# registry_object (registry_test)
function test_4 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOnPublicNet')))
}
# registry_object (registry_test)
function test_5 {
return (((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'EnableRspndr' -ErrorAction SilentlyContinue) | Select-Object -ExpandProperty 'EnableRspndr') -eq 0)
}
# registry_object (registry_test)
function test_6 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'EnableRspndr')))
}
# registry_object (registry_test)
function test_7 {
return (((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'ProhibitRspndrOnPrivateNet' -ErrorAction SilentlyContinue) | Select-Object -ExpandProperty 'ProhibitRspndrOnPrivateNet') -eq 0)
}
# registry_object (registry_test)
function test_8 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'ProhibitRspndrOnPrivateNet')))
}
# registry_object (registry_test)
function test_9 {
return ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOndomain'))
}
# registry_object (registry_test)
function test_10 {
return ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOnPublicNet'))
}
# registry_object (registry_test)
function test_11 {
return ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'EnableRspndr'))
}
# registry_object (registry_test)
function test_12 {
return ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'ProhibitRspndrOnPrivateNet'))
}
# registry_object (registry_test)
function test_13 {
return ((@{String='reg_sz';ExpandString='reg_expand_sz';Binary='reg_binary';DWord='reg_dword';MultiString='reg_multi_sz';QWord='reg_qword';None='reg_none'}[(Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD').GetValueKind('AllowRspndrOndomain').ToString()]) -eq 'reg_dword')
}
# registry_object (registry_test)
function test_14 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOndomain')))
}
# registry_object (registry_test)
function test_15 {
return ((@{String='reg_sz';ExpandString='reg_expand_sz';Binary='reg_binary';DWord='reg_dword';MultiString='reg_multi_sz';QWord='reg_qword';None='reg_none'}[(Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD').GetValueKind('AllowRspndrOnPublicNet').ToString()]) -eq 'reg_dword')
}
# registry_object (registry_test)
function test_16 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'AllowRspndrOnPublicNet')))
}
# registry_object (registry_test)
function test_17 {
return ((@{String='reg_sz';ExpandString='reg_expand_sz';Binary='reg_binary';DWord='reg_dword';MultiString='reg_multi_sz';QWord='reg_qword';None='reg_none'}[(Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD').GetValueKind('EnableRspndr').ToString()]) -eq 'reg_dword')
}
# registry_object (registry_test)
function test_18 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'EnableRspndr')))
}
# registry_object (registry_test)
function test_19 {
return ((@{String='reg_sz';ExpandString='reg_expand_sz';Binary='reg_binary';DWord='reg_dword';MultiString='reg_multi_sz';QWord='reg_qword';None='reg_none'}[(Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD').GetValueKind('ProhibitRspndrOnPrivateNet').ToString()]) -eq 'reg_dword')
}
# registry_object (registry_test)
function test_20 {
return (-not ($null -ne (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LLTD' -Name 'ProhibitRspndrOnPrivateNet')))
}
if (((test_1 -or test_2) -and (test_3 -or test_4) -and (test_5 -or test_6) -and (test_7 -or test_8) -and test_9 -and test_10 -and test_11 -and test_12 -and (test_13 -or test_14) -and (test_15 -or test_16) -and (test_17 -or test_18) -and (test_19 -or test_20))) {
Write-Output "PASS"
} else {
Write-Output "FAIL"
} Assessment Script Powered by AISyntax-verified
A standalone PowerShell script to assess this control automatically. Review before running it in your environment.
Syntax-checked as valid PowerShell. Not executed here — running it for real needs the actual windows_vista target this check assesses.
# OVAL Definition: oval:mil.disa.fso.windows:def:543
powershell
$compliant = $true
if (-not (Test-Path -Path "HKLM:\Software\Policies\Microsoft\Windows\LLTD\AllowRspndrOndomain")) { } else { $compliant = ($compliant -and ((Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\LLTD\AllowRspndrOndomain").value -eq 0)) }
if (-not (Test-Path -Path "HKLM:\Software\Policies\Microsoft\Windows\LLTD\AllowRspndrOnPublicNet")) { } else { $compliant = ($compliant -and ((Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\LLTD\AllowRspndrOnPublicNet").value -eq 0)) }
if ($compliant) { Write-Output "PASS"; exit 0 } else { Write-Output "FAIL"; exit 1 }