Skip to main content
Mallory
← Back to News
credential-access-methodstate-sponsored-espionagepayload-delivery-evasionpersistence-method

ToddyCat Uses Umbrij to Hijack Gmail Access via Google OAuth and Chromium Debugging

Attack Tradecraft · 7 sources · Updated 4mo ago · First seen May 13, 2021

ToddyCat Uses Umbrij to Hijack Gmail Access via Google OAuth and Chromium Debugging

Kaspersky researchers reported that the ToddyCat APT group is using a new .NET malware tool, Umbrij, to compromise corporate Gmail accounts and other Google resources by abusing Google OAuth flows in Chromium-based browsers. The malware is delivered through DLL sideloading with legitimate executables including BDSubWiz.exe, VSTestVideoRecorder.exe, and GoogleDesktop.exe, and can also persist through masqueraded scheduled tasks. After execution, Umbrij reuses an already authenticated browser profile, launches Chrome or Edge in headless mode with a remote debugging port, and automates account-selection and consent steps to capture an OAuth authorization code.

The attackers then exchange the stolen code for Google access tokens and use the API to access Gmail and other account data while remaining largely invisible to the victim. Researchers named the technique Shadow Token via Remote Debug (STRD) and said it depends on an active Google session already present in the victim’s browser; in some cases the malware also impersonates the user by duplicating an explorer.exe token. Defenders were advised to monitor for DLL sideloading and suspicious Chromium launches using flags such as ``` --remote-debugging-port --headless

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · May 13, 2021
  1. May 13, 20216y ago

    Securelist publishes analysis of ToddyCat's Umbrij Gmail access technique

    On 2021-05-13, Securelist published a report describing ToddyCat's use of the Umbrij .NET malware to abuse Google OAuth flows via Chromium remote debugging and access Gmail and other Google resources. The report named the technique Shadow Token via Remote Debug (STRD) and included detection and mitigation guidance.

    How the ToddyCat APT group gains access to Gmail accounts | Securelist
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Threat actors

1 linked

Malware

1 linked

Affected products

1 linked
Gmail

Organizations

1 linked
Google

Observables

7 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.