T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:20- Finding
Privileged Silent Chrome Extension Installation Through Persistent Managed Policy
- Content
View full analysis
" PLIST="/Library/Managed Preferences/com.google.Chrome.plist" sudo defaults write "$PLIST" ExtensionInstallForcelist -array-add "$EXTENSION_ID;https://clients2.google.com/service/update2/crx" ``` 2. Relaunch Chrome — extension installs automatically. ``` ### Technical Analysis The Skill instructs the agent to invoke `sudo` and modify the system-level Chrome managed-preferences file. Adding an extension to `ExtensionInstallForcelist` causes Chrome to install it without the ordinary “Add to Chrome” confirmation process and to enforce its continued presence. The procedure does not require: - Validation that the extension ID has Chrome's expected 32-character format. - Verification that the extension is owned by a trusted publisher. - Review of the extension's requested permissions. - An explicit, informed confirmation immediately before privileged modification. - An allowlist restricting which extensions may be force-installed. - Preservation and review of the existing managed policy. - A rollback process for removing only the newly added entry. Although the update endpoint is Google's official service, the selected extension is controlled by the supplied ID. Consequently, an attacker who influences that ID can direct the privileged policy change toward an unwanted Chrome Web Store extension. The policy mechanism bypasses the least-privilege, user-approved installation method already provided elsewhere in the Skill. ### Attack Path 1. An attacker persuades a user or agent to install an e ...[truncated 1510 chars]- Remediation
View remediation
