Automation · API / MCP 中文

Technique note · T1059.005

Visual Basic

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).

ATT&CK T1059.005 platforms — Status Active Version 20.1

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.12 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.34 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).5 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).6

  1. VB .NET Mar 2020
  2. VB Microsoft
  3. Microsoft VBA
  4. Wikipedia VBA
  5. Microsoft VBScript
  6. Default VBS macros Blocking

Groups using this technique

GroupNameCountry
grp_g0134Transparent TribePakistan
grp_g0062TA459—
grp_g0100Inception—
grp_g0095Machete—
grp_g1018TA2541—
grp_g0021Molerats—
grp_g0085FIN4—
grp_g0090WIRTE—
grp_g0075Rancor—
grp_g1008SideCopyPakistan
grp_g1054MirrorFace—
grp_g0129Mustang PandaChina
grp_g0032Lazarus GroupDPRK
grp_g0078Gorgon Group—
grp_g1001HEXANE—
grp_g1026Malteiro—
grp_g0064APT33Iran
grp_g0142Confucius—
grp_g0112Windshift—
grp_g0080Cobalt Group—
grp_g0126Higaisa—
grp_g1039RedCurlRussia
grp_g1044APT42Iran
grp_g0049OilRigIran
grp_g1052Contagious Interview—
grp_g0069MuddyWater—
grp_g0067APT37DPRK
grp_g0082APT38DPRK
grp_g0091Silence—
grp_g0065LeviathanChina
grp_g0046FIN7—
grp_g0087APT39—
grp_g0010TurlaRussia
grp_g0099APT-C-36—
grp_g0047Gamaredon GroupRussia
grp_g0092TA505—
grp_g0094KimsukyDPRK
grp_g0059Magic HoundIran
grp_g1016FIN13—
grp_g0060BRONZE BUTLER—
grp_g0140LazyScripter—
grp_g1006Earth LuscaChina
grp_g0040Patchwork—
grp_g0121SidewinderIndia
grp_g0034Sandworm TeamRussia
grp_g0050APT32Vietnam

Claims

No public claim points at this technique yet.

Auto-ingested and not human-reviewed; confidence and validity read by citation.