4 minmedium
Malicious Firefox Extension Poses as PDF Identity Verifier to Hijack Google Accounts
A malicious Firefox extension evades static analysis by fetching its payload post-install, hijacking Google accounts by stealing session cookies and silently resetting passwords. The extension fetches malicious configuration from attacker infrastructure after installation, evading static analysis and store review. It injects an account-takeover script into real accounts.google.com pages, capturing oauth_token session cookies and forcing password resets to attacker-controlled values. Targets Portuguese- and Spanish-speaking users since September 11, 2026.
Sens:▲ 24hConf:highAnalyzed:2026-11-05Z.ai
Authors: Karlo Zanki
Source:Socket
Detection / HunterZ.ai
Immediate Actions
- Block extension identifier [email protected] via browser-management policies
- Block all requests to pdf[.]gusercontent[.]com at proxy and DNS layers
- Revoke all active Google sessions for affected users from trusted devices
- Reset affected users' Google passwords from known-clean devices
Key Takeaways
- Extension ships with zero hardcoded malicious logic; all behavior is config-driven post-install
- Uses lookalike domain pdf[.]gusercontent[.]com resembling Google's googleusercontent.com
- Patches WebAuthn PublicKeyCredential to always report passkey availability
- Captures oauth_token session cookies via webRequest.onCompleted listener on *.google.com
- Can silently reset victim's Google password to attacker-controlled value
Attack Chain
- Initial Access: User installs PDF Identity Verifier Firefox extension from Add-ons store
- Execution: onInstalled handler opens pdf[.]gusercontent[.]com/oninstalled after 5-second delay
- Defense Evasion: Landing page script sends config via postMessage; extension has no hardcoded malicious logic
- Credential Access: webRequest listener captures oauth_token Set-Cookie headers from *.google.com responses
- Account Takeover: load-addon.js injected into accounts.google.com; automates sign-in flow and forces password reset
- Exfiltration: Session cookies and live UI telemetry exfiltrated to pdf[.]gusercontent[.]com endpoints
Affected Systems
- Firefox browser users with extensions installed
- Google account users
- Portuguese- and Spanish-speaking users
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| Firefox extensions requesting broad google.com webRequest permissions and opening new tabs on install (T1176) | Browser extension install and permission logs | Initial Access | Medium — legitimate extensions may request google.com permissions |
| Browser traffic to lookalike domains resembling googleusercontent.com with /oninstalled or /loginSdk paths (T1071.001) | DNS and web proxy logs | Command and Control | Low — path patterns are highly specific |
| Browser extensions writing executable JavaScript strings to browser.storage.local then reloading (T1059.007) | Browser extension debug logs or storage dumps | Execution | Low — runtime config-driven code injection is unusual |
Required Log Sources
- Firefox extension install logs
- DNS resolution logs
- Web proxy logs
- SIEM URL filtering alerts
Control Gaps
- Static extension scanning cannot detect config-driven payloads
- EDR lacks visibility into browser internal storage and postMessage
- Web filters may not flag lookalike gusercontent.com domain
- Browser extension store review missed post-install arming behavior
Recommendations
Infrastructure Hardening
- Add pdf[.]gusercontent[.]com to DNS blocklists and web proxy deny lists
- Deploy Firefox enterprise policies restricting extension installation to approved list
- Enable browser extension telemetry forwarding to SIEM for managed endpoints
- Flag any new extension requesting webRequest on *.google.com for manual review
User Protection
- Inspect Firefox profiles on managed endpoints for the extension identifier and local-storage data
- Review Google security events and login history for affected accounts
- Re-enroll passkeys, security keys, and MFA methods after password reset
- Check connected applications and delegated access on affected Google accounts
MITRE ATT&CK Mapping
MITRE ATT&CK Mapping10 techniques
Tactic
Execution
Tactic
Persistence
Tactic
Credential Access
Tactic
Command and Control
Tactic
Exfiltration
Showing defanged values
- domainpdf[.]gusercontent[.]comAttacker C2 domain mimicking Google's googleusercontent.com
- sha25616447c70f8e3c99de95b92846460214a661915c89f5c10965bf18da4c279880aHash of loader payload script index-BhOgWOaO.js
- sha256dc717b5ab9a8eccf6b6187880ba90b004cb00f503ff8bceb8405ccc33d1c6e3eHash of Google account takeover payload load-addon.js
- sha256f1b8329075b1cbd1ae0a5dc947bd00f94642cb166a86c2455a1d0b10aee9f2b1Hash of onInstalled landing page content
- urlhxxps://pdf[.]gusercontent[.]com/api/accounts/collect/?leadId=&email=&data=Token exfiltration endpoint for stolen oauth_token cookies
- urlhxxps://pdf[.]gusercontent[.]com/api/extlogLive session telemetry endpoint streaming page content
- urlhxxps://pdf[.]gusercontent[.]com/loginSdk/assets/index-BhOgWOaO[.]jsLoader script that arms the extension via postMessage
- urlhxxps://pdf[.]gusercontent[.]com/loginSdk/load-addon[.]jsAccount takeover payload injected into accounts.google.com
- urlhxxps://pdf[.]gusercontent[.]com/oninstalledLanding page opened after extension install event
- urlhxxps://pdf[.]gusercontent[.]com/reloadPost-hijack redirect destination