Enable the Safe Browsing Feature
An XCCDF Rule
Description
Chromium has the capability to check URLs for known malware and phishing associated with websites through the Safe Browsing Feature. This can be enabled by settingSafeBrowsingEnabled
to true
in the Chromium
policy file.
Rationale
Safe browsing uses a signature database to test sites when they are be loaded to ensure that sites do not contain any known malware.
- ID
- xccdf_org.ssgproject.content_rule_chromium_enable_safe_browsing
- Severity
- Unknown
- References
- Updated
Remediation Templates
A Shell Script
if ! grep -q SafeBrowsingEnabled /etc/chromium/policies/managed/chrome_stig_policy.json; then
sed -i -e '/{/a \ "'SafeBrowsingEnabled'": 'true',' /etc/chromium/policies/managed/chrome_stig_policy.json
else
sed -i -e 's/\"'SafeBrowsingEnabled'.*/\"'SafeBrowsingEnabled'\": 'true',/g' /etc/chromium/policies/managed/chrome_stig_policy.json
fi