Join our Newsletter — 33% off our NHI Course
Home› Guides› MITRE ATT&CK T1176 Software Extensions: Detecting and Removing…
Guide SOC & Detection Engineering

MITRE ATT&CK T1176 Software Extensions: Detecting and Removing Extension Persistence

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 12 November 2026 11 min read
On this page

A malicious browser or IDE extension reloads every time the application starts, runs with the application's rights and updates itself, which makes it one of the quietest forms of persistence on a workstation. MITRE ATT&CK tracks this as T1176 Software Extensions in the Persistence tactic (TA0003) on Windows, Linux and macOS. ATT&CK v20 has two sub-techniques: T1176.001 Browser Extensions and T1176.002 IDE Extensions, the second covering Visual Studio Code, IntelliJ IDEA, Eclipse and similar editors. This guide takes the ATT&CK technique view: the procedures recorded against it, the three v20 detection strategies, the mitigations and the policy settings that enforce them, and how to remove an extension foothold cleanly. It is for detection engineers, endpoint and developer platform teams. For the wider extension risk programme, see the Browser Extension Security Guide and Malicious IDE Extension Detection.

Key takeaways

  • Trust is granted once, at install. ATT&CK notes that after installation an IDE extension runs every time the IDE launches; browser extensions inherit permissions previously granted to the browser.
  • Updates are the attack path. In the Cyberhaven and GlassWorm cases, attackers used stolen publishing access to push malicious versions of real extensions, which auto-updated onto users' machines.
  • Allowlisting is the strongest listed mitigation. ATT&CK v20 maps M1038 Execution Prevention (allow or deny lists), M1033, M1047, M1017 and M1051; Chrome ExtensionSettings and the VS Code AllowedExtensions policy implement M1038 directly.
  • Detection is install-then-behaviour. All three v20 detection strategies look for a new extension appearing on disk or in configuration, followed by unusual network connections, file writes or child processes from the host application.
  • The payload is usually identity material. Recorded procedures steal cookies, passwords and tokens, so removal must be followed by session revocation and credential rotation.

How adversaries use it

ATT&CK v20 describes several installation routes: lookalike or compromised listings in official marketplaces, social engineering, direct installation by an adversary who already has access, and benign extensions abused for their legitimate functions. For Chromium browsers it also records adversaries modifying the Preferences and Secure Preferences files while the browser is closed, so an extension loads with chosen permissions without user consent, and manipulating an extension's update URL. For IDEs it notes side-loading of extension packages as well as marketplace installs.

Sub-techniqueHostsTypical procedures in ATT&CK v20What the extension can reach
T1176.001 Browser ExtensionsChrome, Edge, Brave, Opera, Safari and other browsersKimsuky (G0094) extensions stealing passwords and cookies; TRANSLATEXT (S1201) capturing credentials, cookies and screenshots; Lumma Stealer (S1213) installing an extension across Chrome, Edge, Opera and Brave; Grandoreiro (S0531) and Mispadu (S1122) stealing financial data; OSX/Shlayer (S0402) and Bundlore (S0482) installing Safari extensions for ad fraud and search hijackingPage content, cookies and session tokens for every site the extension's host permissions cover
T1176.002 IDE ExtensionsVS Code and compatible editors, JetBrains IDEs, EclipseTeamPCP (G1056) compromising VS Code and Open VSX extensions; Mustang Panda (G0129) using VS Code's built-in tunnel featureSource code, SSH keys, cloud and registry tokens, environment variables; extensions run with the same permissions as the editor

The Mustang Panda entry is a boundary case. Unit 42 reported in September 2024 that the group ran code.exe tunnel to give itself a browser-based VS Code session on government machines in Southeast Asia, then used it to run commands and deliver malware. ATT&CK tracks the tunnel itself as T1219.001 IDE Tunneling under Command and Control; it is mentioned here because the same detection data covers both.

Incidents on NHI Mgmt Group

  • Hijacked browser extension: in the Cyberhaven Chrome extension breach, an employee with publishing rights approved a malicious OAuth app through a genuine Google consent screen; the attacker published version 24.10.4 over the 2024 Christmas period, which harvested cookies, session data and Facebook access tokens until it was removed. The customer-side lessons: extension allowlists with version review, and treating store publishing access as a privileged credential.
  • Self-spreading IDE extensions: the GlassWorm campaign published malicious versions of Open VSX and VS Code Marketplace extensions with leaked publisher tokens from October 2025, hid code with invisible Unicode characters, stole npm, GitHub, Git and Open VSX credentials, and reused them to publish more infected extensions. See the GlassWorm VS Code Extension Worm Guide.

What to detect and where

ATT&CK v20 publishes three detection strategies: DET0092 for the parent technique, DET0044 for browser extensions and DET0561 for IDE extensions and IDE tunnelling.

StrategyPlatformLog sources named in v20Chain to correlate
DET0044 (AN0123)WindowsSysmon 11 file create; Security 4688; Sysmon 3 and 22; Sysmon 13 and 14 registryNew extension files or registry entries, then browser connections to untrusted domains or unusual file writes
DET0044 (AN0124), DET0092 (AN0252)macOSUnified log: configuration profile installs, extension plist creation (including under /Library/Managed Preferences/), unexpected browser child processesProfile or plist that adds an extension, then abnormal child processes or outbound traffic
DET0044 (AN0125), DET0092 (AN0253)Linuxauditd open and execve; file creation events; flow dataScripted writes into browser or IDE extension directories, then unexpected connections
DET0561 (AN1548 to AN1550)Windows, Linux, macOSProcess creation with install, update or tunnel arguments; writes under ~/.vscode/extensions, ~/.config/JetBrains or ~/Library/Application Support/Code; flows to marketplace and tunnel domainsIDE started on a server or non-developer host, extension files appear, outbound connections to marketplaces or tunnel services follow

High-signal analytics

  • Preferences tampering: writes to Chromium Preferences or Secure Preferences files by any process other than the browser itself, the silent-install method ATT&CK describes.
  • Extension not in inventory: daily diff of installed extension IDs and versions per device against the approved list; alert on new IDs and on version changes for high-permission extensions.
  • Load-unpacked or developer mode on non-developer devices: extensions loaded from local folders rather than a store.
  • IDE on servers: code.exe, idea or eclipse processes on servers or build hosts, and any process with a tunnel argument.
  • Extension host spawning shells: the IDE extension host process starting shells, curl or package managers outside a developer's normal pattern, or connecting to blockchain RPC or calendar APIs as GlassWorm did for C2.

Mitigations and the settings that enforce them

ATT&CK v20 mitigationBrowser implementationIDE implementation
M1038 Execution PreventionChrome ExtensionSettings policy: "*" with installation_mode blocked, then allow approved IDs; blocked_permissions to refuse extensions requesting a permission; runtime_blocked_hosts to stop extensions touching named sitesVS Code AllowedExtensions policy (overrides the user setting extensions.allowed, VS Code 1.96 and later): allow by publisher, extension ID, version or platform, or "stable" to block pre-releases; disallowed installed extensions are disabled
M1033 Limit Software InstallationAllow installs only from the official store or your own update URL; force-install required extensions with force_installedPrivate marketplace that rehosts approved extensions, including for air-gapped environments
M1047 AuditInventory installed extensions and permissions across managed browsers; verify policy at chrome://policyInventory extension directories and versions per developer device and build host
M1051 Update SoftwareKeep browsers current so store-side blocklists and policy features applyKeep IDEs current; VS Code removes blocklisted marketplace extensions and checks marketplace signatures at install
M1017 User TrainingClose browser sessions when finished; recognise consent screens for high-risk scopesMinimise extension use; VS Code (1.97 and later) prompts users to trust third-party publishers

Choosing between deny-list and allow-list depends on scale. Small organisations can start with a deny-all default plus a short approved list, because the list is manageable. Large estates usually begin with a permission-based policy (block extensions requesting high-risk permissions or all-sites access) and move to full allowlisting by department. For developers, pin versions of high-permission extensions so a malicious update cannot arrive silently; the VS Code allowlist supports specific versions but not ranges. Note that a VS Code allowlist rule for a local VSIX uses the identifier declared inside the package and does not verify where the package came from.

Where identity fits

Extensions sit where identity material lives: browser cookies and session tokens, password stores, IDE-held GitHub and registry tokens, cloud CLI credentials and SSH keys. They also depend on non-human identities of their own. Store and marketplace publishing tokens decide who can push code to every user of an extension, and both cases above began with that access being phished or leaked. Treat publishing tokens as privileged machine credentials: few holders, short lifetimes, publication from CI with federated credentials, and review of every new version. See the Threat Actors Targeting Software Developers Guide and the AI IDE and Coding Agent Security Guide.

Removing an extension foothold

  1. Block centrally first: add the extension ID to the browser policy block list or remove it from the VS Code allowlist, so it is disabled on every device at the next policy refresh rather than one machine at a time.
  2. Scope: use the inventory to list every device and user with the extension or the affected version, and the dates it was present.
  3. Check for re-installers: look for modified Preferences files, configuration profiles, update URL overrides or scheduled tasks that would restore it.
  4. Revoke and rotate: sign users out of sessions the extension could read, and rotate tokens and keys reachable from affected browsers and IDEs, starting with source control, package registries and cloud.
  5. Preserve evidence: keep a copy of the extension package and its manifest before removal for analysis.
  6. Restore safely: re-allow a clean version only after the publisher confirms remediation; pin that version.

The Malicious Browser Extension Incident Playbook covers the response roles and communications in more depth.

How to roll out and test

  1. Inventory for four weeks: collect installed extensions, versions and permissions from browsers and IDEs before changing policy.
  2. Agree the policy: approved lists per department, high-risk permissions to block, and an exception route with an owner.
  3. Pilot ring: apply the allowlist to IT and one developer team; confirm policy status and gather breakages.
  4. Roll out in rings: keep the previous policy version so a ring can be reverted within one refresh.
  5. Test detection: with approval, side-load a harmless test extension on a lab device and modify a test profile's Preferences file; confirm the inventory diff, the DET0044-style alert and the policy block.

Measuring whether it works

  • Allowlist coverage: share of managed browsers and developer IDEs under an enforced allowlist.
  • Unapproved extensions: count of installed extensions not on the approved list, trending to zero.
  • High-permission footprint: number of approved extensions with all-sites access or equivalent IDE reach.
  • Time to block: time from a public malicious extension report to central block across the estate.
  • Rotation completeness: share of reachable credentials rotated after an extension incident.

Common failure patterns

  • Approving a name, not a version: allowlists that trust any future version let a hijacked update straight through, as in the Cyberhaven case.
  • Browser policy only: browser extensions governed while IDE extensions on developer machines, which hold the most valuable tokens, are unmanaged.
  • Unmanaged browser profiles: policy applied to the corporate profile while users install freely in a personal profile on the same device.
  • Removal without rotation: uninstalling the extension but leaving stolen cookies and tokens valid.
  • Ignoring the editor's own features: monitoring extensions but not the built-in tunnel feature used by Mustang Panda.

Framework mapping

FrameworkReferenceRelevance
MITRE ATT&CK v20TA0003; T1176, T1176.001, T1176.002; DET0044, DET0092, DET0561; M1017, M1033, M1038, M1047, M1051Technique, detection strategies and mitigations
MITRE ATT&CK v20T1195.001 Compromise Software Dependencies and Development Tools; T1219.001 IDE TunnelingRelated techniques on their own pages
MITRE D3FENDD3-EAL Executable AllowlistingDefensive technique NHI Mgmt Group considers relevant
NIST SP 800-53 Rev. 5CM-7 Least Functionality; CM-10 Software Usage Restrictions; CM-11 User-installed SoftwareRestricting and governing installed extensions
NIST CSF 2.0PR.PS-05; DE.CM-09Preventing unauthorised software; monitoring software

Practitioner checklist

  • Inventory browser and IDE extensions, versions and permissions on every managed device daily.
  • Enforce a browser extension policy with a deny-all default or a high-risk permission block.
  • Enforce the VS Code AllowedExtensions policy (or the equivalent for other IDEs) on developer devices.
  • Pin versions of high-permission extensions and review updates before approving them.
  • Alert on Chromium Preferences or Secure Preferences writes by non-browser processes.
  • Alert on IDE processes on servers and on any IDE tunnel invocation.
  • Treat extension publishing tokens your organisation holds as privileged credentials.
  • After any extension incident, revoke sessions and rotate every reachable credential.

Standards and references

Related NHI Mgmt Group resources: Browser Extension Security Guide · Malicious IDE Extension Detection · Threat Actors Targeting Software Developers Guide · Malicious Browser Extension Incident Playbook · MITRE ATT&CK T1195 Supply Chain Compromise

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.