MITRE ATT&CKsub-technique

T1701.004 Visual Basic

Published 2026-09-25 Modified 2026-10-09 Official page ↗
Domain
ics
Tactics
Execution
Version
1.0
Created
2026-09-25

Description

Adversaries may abuse Visual Basic (VB) for execution. VB is a programming language created by Microsoft with interoperability with many Windows technologies such as Component Object Model and the Native API through the Windows API. Although tagged as legacy with no planned future evolutions, VB is integrated and supported in the .NET Framework and cross-platform .NET Core. Derivative languages based on VB have also been created, such as Visual Basic for Applications (VBA) and VBScript. VBA is an event-driven programming language built into Microsoft Office, as well as several third-party applications. VBA enables documents to contain macros used to automate the execution of tasks and other functionality on the host. VBScript is a default scripting language on Windows hosts and can also be used in place of JavaScript on HTML Application (HTA) webpages served to Internet Explorer (though most modern browsers do not come with VBScript support). Adversaries may use VB payloads to execute malicious commands. Common malicious usage includes automating execution of behaviors with VBScript or embedding VBA content into Spearphishing Attachment payloads (which may also involve Mark-of-the-Web Bypass to enable execution). Within industrial control system networks, adversaries may abuse the use of VB and VBScript on overlap assets that run on Microsoft Windows operating systems, especially in cases where legacy versions are still used in operations (Workstations, Data Historians, Human Machine Interfaces, Application Servers, Jump Hosts, etc.).

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1701 Command and Scripting Interpreter technique

Tactic · MITRE ATT&CK (1)

Referenced by MITRE ATT&CK · mitigates (5)

  • M0938 Execution Prevention mitigation
  • M0942 Disable or Remove Feature or Program mitigation
  • M0949 Antivirus/Antimalware mitigation
  • M0950 Exploit Protection mitigation
  • M0921 Restrict Web-Based Content mitigation

Referenced by MITRE ATT&CK · uses (3)

  • C0034 2022 Ukraine Electric Power Attack campaign
  • C0025 2016 Ukraine Electric Power Attack campaign
  • G0049 OilRig group

References