The Evidence Pack: How the New 'Umbrij' Malware Bypasses Passwords to Hijack Corporate Gmail
Cybersecurity researchers have uncovered a new tool used by the ToddyCat APT group that abuses Google's OAuth API and browser debugging ports to silently extract access tokens from active Gmail sessions.
By Factlen Editorial Team
- Threat Intelligence Analysts
- Focusing on the technical sophistication of the ToddyCat APT group and the novelty of the STRD technique.
- Enterprise Network Defenders
- Prioritizing practical mitigation, browser configuration management, and endpoint monitoring.
- Identity Security Experts
- Highlighting the structural vulnerabilities of persistent API access and the limitations of MFA.
What's not represented
- · Google Workspace Product Security Team
- · End-users whose accounts were compromised
Why this matters
As organizations increasingly rely on cloud-based email and identity providers, traditional password and MFA defenses are no longer sufficient. Understanding how threat actors abuse legitimate API protocols like OAuth allows enterprise defenders to close critical blind spots and secure their corporate communications.
Key points
- The ToddyCat APT group has deployed a new malware tool named Umbrij to target corporate Gmail accounts.
- The malware bypasses passwords and MFA by hijacking active, authenticated browser sessions.
- It uses a technique called 'Shadow Token via Remote Debug' (STRD) to silently launch a headless Chromium browser.
- Umbrij automates the Google OAuth consent process to grant itself extensive access to email, drive, and contacts.
- The attackers exfiltrate the OAuth authorization code to maintain persistent access via the Google API.
- Defenders can mitigate the threat by disabling browser remote debugging and auditing Google Workspace app connections.
Cybersecurity researchers have identified a new custom malware tool dubbed "Umbrij," deployed by the advanced persistent threat (APT) group known as ToddyCat. The discovery was made during a proactive threat hunting operation aimed at uncovering novel evasion techniques.[1][4]
The primary objective of the Umbrij malware is to compromise corporate email communications hosted on Google Workspace, specifically targeting Gmail accounts. By gaining access to these inboxes, the threat actors can monitor sensitive internal correspondence and exfiltrate proprietary data.[2]
Unlike traditional credential stealers that attempt to harvest usernames and passwords, Umbrij operates on a completely different paradigm. It abuses Google's OAuth 2.0 authorization process to silently extract access tokens, bypassing the need for traditional login credentials entirely.[3]
Claim 1: The malware bypasses Multi-Factor Authentication (MFA) by hijacking existing, authenticated sessions. Evidence strongly supports this assertion: the attack relies on the victim already being logged into their Google account within a Chromium-based browser, such as Google Chrome or Microsoft Edge.[1][2]
Because the session is already authenticated by the user, Google's security systems recognize the browser profile as legitimate. Consequently, the platform does not prompt the user to re-enter a password or provide a secondary MFA token, allowing the malware to operate undetected by standard identity checks.[3]

Claim 2: The attack utilizes a novel technique dubbed "Shadow Token via Remote Debug" (STRD). Kaspersky's technical analysis details how the malware launches a hidden, headless instance of the user's Chromium browser, operating entirely in the background without rendering a visible window.[4]
Once the headless browser is running, Umbrij connects to it via the remote debugging port. This built-in developer feature allows the malware to programmatically control the browser, inspect web elements, and execute commands without the user's knowledge or interaction.[1]
To execute the automation, the attackers utilize Puppeteer Sharp, a .NET port of the popular Node.js library widely used by developers for legitimate browser automation and software testing.[1]
Through Puppeteer Sharp, the malware navigates the headless browser to a specially crafted Google OAuth authorization page. Here, it impersonates legitimate Google Workspace applications, specifically mimicking "Google Workspace Migration for Microsoft Outlook" (GWMMO) or "Google Workspace Sync."[2][3]
Through Puppeteer Sharp, the malware navigates the headless browser to a specially crafted Google OAuth authorization page.
Claim 3: The malware automates the consent process to grant itself access. The evidence shows that Umbrij programmatically interacts with the DOM (Document Object Model) to click the "Allow" button on the OAuth consent screen, authorizing the requested permissions instantly.[4]
These requested permissions are exceptionally broad. The malware seeks full access to the victim's Gmail, Google Drive, Calendar, Contacts, and user profile information, effectively granting the attackers total control over the user's cloud workspace.[3]

Once the consent is granted, Google issues an OAuth authorization code. Umbrij captures this code from the browser, saves it to a local log file, and subsequently exfiltrates it to the attacker's command-and-control server.[2]
The threat actors then exchange this authorization code for a persistent OAuth access token. They use this token to query the Google API directly from their own infrastructure, completely bypassing the victim's machine for all subsequent data access.[1][2]
Claim 4: The malware employs sophisticated obfuscation to evade endpoint detection. Researchers note that Umbrij is written in the .NET framework and heavily protected using the open-source ConfuserEx obfuscator, making reverse engineering and static analysis highly difficult for security software.[3]
Furthermore, the malware relies on DLL sideloading for its initial execution. It hides within trusted, digitally signed applications—such as Bitdefender ConnectAgent or Microsoft Visual Studio testing tools—to bypass basic security checks and execute its malicious payload under the guise of a legitimate process.[3]
Uncertainty and Limitations: While the STRD technique is highly effective, the evidence indicates it has strict prerequisites. The victim's machine must already be compromised to deploy the malware, and the user must have an active, unexpired Google session in their browser for the token extraction to succeed.[1][3]
If the user has explicitly logged out of their Google account, the headless browser instance will hit a standard login screen. Because the malware does not possess the user's password, the automated OAuth extraction process will fail.[4]
Defense and Mitigation: Because the attack leverages legitimate API functionality and developer tools, traditional endpoint detection and response (EDR) platforms may struggle to flag the behavior. Defenders must pivot their strategy toward identity and configuration management.[2][5]

Security teams are strongly advised to disable browser developer tools and remote debugging ports via Group Policy across the enterprise, ensuring that these features are only accessible to authorized developer roles.
Additionally, administrators should regularly audit OAuth grants within their organization. By reviewing connected applications at myaccount.google.com/connections, security teams can identify unauthorized instances of "Google Workspace Migration for Microsoft Outlook" and revoke the malicious access tokens immediately.[2][4]
How we got here
2020
The ToddyCat advanced persistent threat (APT) group is first observed targeting organizations in Europe and Asia.
November 2025
Kaspersky details ToddyCat's use of 'TCSectorCopy' to steal Microsoft Outlook data from targeted companies.
June 2026
Researchers uncover 'Umbrij', a new tool shifting the group's focus to Google Workspace and OAuth abuse.
Viewpoints in depth
Threat Intelligence Analysts
Focusing on the technical sophistication of the ToddyCat APT group.
Security researchers emphasize that the 'Shadow Token via Remote Debug' (STRD) technique represents a significant evolution in cyber-espionage. By shifting away from traditional credential harvesting and instead attacking the OAuth authorization flow, threat actors are demonstrating a deep understanding of modern cloud architecture. Analysts point out that the use of headless browsers and Puppeteer Sharp automation allows the malware to operate with a remarkably low footprint, bypassing traditional endpoint detection systems that look for anomalous memory injection or keylogging.
Enterprise Network Defenders
Prioritizing practical mitigation and configuration management.
For IT administrators, the Umbrij malware highlights the critical importance of locking down browser configurations. Defenders argue that features like remote debugging ports should be strictly disabled via Group Policy across all corporate endpoints unless explicitly required for developer roles. Furthermore, they stress that security teams must expand their monitoring beyond the endpoint to include continuous auditing of third-party OAuth grants within Google Workspace, treating API access tokens with the same level of scrutiny as administrative passwords.
Identity Security Experts
Highlighting the structural vulnerabilities of persistent API access.
Identity specialists view this attack as a symptom of a broader issue with long-lived access tokens. They note that while Multi-Factor Authentication (MFA) is highly effective at stopping initial login breaches, it provides zero protection once an attacker has successfully hijacked an authenticated session to generate an OAuth token. These experts advocate for stricter token lifecycle management, including shorter expiration times for API access and continuous authorization checks that evaluate the context of every API request, rather than trusting a token indefinitely.
What we don't know
- How many organizations have been successfully compromised by the Umbrij malware to date.
- Whether the ToddyCat APT group has adapted the STRD technique to target other cloud providers beyond Google Workspace.
- The exact initial infection vector used to deploy the malware onto victim machines before the OAuth extraction begins.
Key terms
- OAuth 2.0
- An industry-standard protocol for authorization that allows applications to access user data without requiring their password.
- Headless Browser
- A web browser executed without a graphical user interface, typically used for automated testing or background scripts.
- Remote Debugging Port
- A feature in Chromium browsers that allows developers (or malware) to inspect and control the browser programmatically.
- DLL Sideloading
- A cyberattack technique where malicious code is placed in a library file (DLL) and executed by a legitimate, trusted application.
- APT (Advanced Persistent Threat)
- A stealthy, well-resourced threat actor, typically state-sponsored, that maintains long-term access to a network.
Frequently asked
Does changing my Google password stop this malware?
Not necessarily. If the attacker has already obtained an OAuth access token, they can maintain access via the API until that specific token is explicitly revoked.
Will Multi-Factor Authentication (MFA) block the attack?
No. Because the malware piggybacks on a session where the user has already completed MFA, Google's systems do not prompt for it again.
How can I check if my account is affected?
Users and admins should check their Google account connections for unrecognized apps, particularly "Google Workspace Migration for Microsoft Outlook," and revoke access if it is not actively used.
Sources
[1]SecurelistThreat Intelligence Analysts
An in-depth analysis of Umbrij, a new tool used by the ToddyCat APT group
Read on Securelist →[2]The Hacker NewsEnterprise Network Defenders
ToddyCat-Linked Umbrij Malware Abuses OAuth to Access Gmail via Google API
Read on The Hacker News →[3]CyberpressIdentity Security Experts
ToddyCat Automates Gmail Compromise
Read on Cyberpress →[4]KasperskyThreat Intelligence Analysts
Kaspersky experts have identified a previously unknown tool used by the APT group ToddyCat
Read on Kaspersky →[5]BackBoxEnterprise Network Defenders
ToddyCat-Linked Umbrij Malware Abuses OAuth to Access Gmail via Google API
Read on BackBox →
Every angle. Every day.
Get technology stories with full source coverage and perspective breakdowns delivered to your inbox.







