TMAegisBeta
更多 chrome 規則

Google Chrome

TMA-CHROME-1.26

Ensure 'Origins or hostname patterns for which restrictions on insecure origins should not apply' is set to 'Disabled'

高等級 1自動化chrome

說明

Google Chrome can use a list of origins (URLs) or hostname patterns (such as "*.example.com") for which security restrictions on insecure origins will not apply and are prevented from being labeled as "Not Secure" in the omnibox. The recommended state for this setting is: Disabled (0) Rationale: Insecure contexts shall always be labeled as insecure. The policy is Disabled when it is not present: the audit prints 'absent' when the list key HKLM\SOFTWARE\Policies\Google\Chrome\OverrideSecurityRestrictionsOnInsecureOrigin is missing or empty, otherwise the configured entries.

檢查方式

稽核方法: Windows 登錄檔

registry
$l = @((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\OverrideSecurityRestrictionsOnInsecureOrigin' -ErrorAction SilentlyContinue).PSObject.Properties | Where-Object { $_.Name -notlike 'PS*' } | ForEach-Object { "$($_.Value)" }); if ($l.Count -eq 0) { 'absent' } else { 'configured: ' + ($l -join ', ') }
預期輸出
absent

修補方式

修補方法: 操作指南或基礎設施修補檔

Configure through Group Policy: Computer Configuration\Policies\Administrative Templates\Google\Google Chrome\Origins or hostname patterns for which restrictions on insecure origins should not apply = Disabled. Locally, remove the policy entries at HKLM\SOFTWARE\Policies\Google\Chrome\OverrideSecurityRestrictionsOnInsecureOrigin after reviewing them.

屬性

作業系統
不限
標籤
chromebrowsercis-l1
參考資料
CIS Google Chrome Benchmark v3.0.0 - 1.26 Ensure 'Origins or hostname patterns for which restrictions on insecure origins should not apply' is set to 'Disabled'

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target chrome