Solution:
Root Cause: Registry Policy Injection (ExtensionInstallForcelist)
Malware with elevated privileges writes to system registry policy keys (
HKLM\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist or
HKLM\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallForcelist). This marks the extension as enterprise-managed, disabling the standard GUI 'Remove' button.
# Diagnostic Verification:
1. Navigate to
chrome://policy or
edge://policy in your browser address bar.
2. Locate policies named
ExtensionInstallForcelist or
ExtensionInstallAllowlist and note the extension ID string.
3. Open PowerShell as Administrator and check for the registry keys:
powershell
Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist" -ErrorAction SilentlyContinue
Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallForcelist" -ErrorAction SilentlyContinue
# Step-by-Step Fix:
1. Force terminate all browser instances:
powershell
Stop-Process -Name "chrome", "msedge", "brave" -Force -ErrorAction SilentlyContinue
2. Delete malicious policy keys from HKLM and HKCU registry hives:
powershell
Remove-Item -Path "HKLM:\SOFTWARE\Policies\Google\Chrome" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item -Path "HKCU:\SOFTWARE\Policies\Google\Chrome" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item -Path "HKCU:\SOFTWARE\Policies\Microsoft\Edge" -Recurse -Force -ErrorAction SilentlyContinue
3. Purge local Group Policy cache directories:
powershell
Remove-Item -Path "C:\Windows\System32\GroupPolicy\Machine\registry.pol" -Force -ErrorAction SilentlyContinue
Remove-Item -Path "C:\Windows\System32\GroupPolicyUsers\*" -Recurse -Force -ErrorAction SilentlyContinue
4. Force Group Policy refresh in Command Prompt:
cmd
gpupdate /force
5. Delete extension files from disk (
%LocalAppData%\Google\Chrome\User Data\Default\Extensions\<EXTENSION_ID>).
# Prevention & Long-Term Monitoring:
Enforce Windows Defender Application Control (WDAC) or AppLocker rules to block unauthorized registry modifications to policy paths. Consult Google Chrome Enterprise Documentation for policy compliance guidelines.