ATT&CK Reference
Portfolio

TA0002 · EXECUTION

Visual Basic

T1059.005Sub-technique of Command and Scripting InterpreterWindows · macOS · Linuxattack.mitre.org

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.

Detect it with

Monitor for events associated with VB execution, such as Office applications spawning processes, usage of the Windows Script Host (typically cscript.exe or wscript.exe), file activity involving VB payloads or scripts, or loading of modules associated with VB languages (ex:…

Why it matters on shift

Visual Basic is one of the concrete ways adversaries achieve execution. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After execution, the next tactic is usually Persistence. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforeInitial AccessExecutionafter →Persistence