System Binary Proxy Execution: Electron Applications
- ID
- T1218.015
- Tactics
- TA0005 Stealth
- Sub-technique of
- T1218 System Binary Proxy Execution
- Platforms
- Linux, macOS, Windows
- Data sources
- Process Creation, File Creation, Module Load, Network Connection Creation
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
Adversaries may abuse components of the Electron framework to execute malicious code. The Electron framework hosts many common applications such as Signal, Slack, and Microsoft Teams.[3] Originally developed by GitHub, Electron is a cross-platform desktop application development framework that employs web technologies like JavaScript, HTML, and CSS.[4] The Chromium engine is used to display web content and Node.js runs the backend code.[5]
Due to the functional mechanics of Electron (such as allowing apps to run arbitrary commands), adversaries may also be able to perform malicious functions in the background potentially disguised as legitimate tools within the framework.[5] For example, the abuse of teams.exe and chrome.exe may allow adversaries to execute malicious commands as child processes of the legitimate application (e.g., chrome.exe --disable-gpu-sandbox --gpu-launcher="C:\Windows\system32\cmd.exe /c calc.exe).[6]
Adversaries may also execute malicious content by planting malicious JavaScript within Electron applications.[7]
Detection
- DET0025 Detecting Electron Application Abuse for Proxy Execution
Data components: Process Creation, File Creation, Module Load, Network Connection Creation
Mitigations (3)
- M1038 Execution Prevention
Where possible, enforce binary and application integrity with digital signature verification to prevent untrusted code from executing. For example, do not use
shell.openExternalwith untrusted content.Where possible, set
nodeIntegrationto false, which disables access to the Node.js function.[1] By disabling access to the Node.js function, this may limit the ability to execute malicious commands by injecting JavaScript code.Do not disable
webSecurity, which may allow for users of the application to invoke malicious content from online sources.- M1042 Disable or Remove Feature or Program
Remove or deny access to unnecessary and potentially vulnerable software and features to prevent abuse by adversaries. Many native binaries may not be necessary within a given environment: for example, consider disabling the Node.js integration in all renderers that display remote content to protect users by limiting adversaries’ power to plant malicious JavaScript within Electron applications.[2]
- M1050 Exploit Protection
Microsoft's Enhanced Mitigation Experience Toolkit (EMET) Attack Surface Reduction (ASR) feature can be used to block methods of using trusted binaries to bypass application control.
Ensure that Electron is updated to the latest version and critical vulnerabilities (such as nodeIntegration bypasses) are patched and cannot be exploited.
Software (1)
References
- Electron Security 3
- Electron Security 2
- Electron 2
- Electron 3
- Electron 1
- Electron 6-8
- Electron Security
