Reference tables / ATT&CK techniques / T1059.005
T1059.005 Visual Basic
- Tactics
- Execution
- Reports citing the ID, 90 days
- 1
- KEV CVEs mapped
- 0
- SigmaHQ rules
- 29
- Elastic, Splunk
- 26
- thrunt rules
- 0
- MITRE
- https://attack.mitre.org/techniques/T1059/005
Groups using it
Ransomware groups whose hunt package lists this technique, busiest first.
Rules
SigmaHQ community rules
- AppLocker Prevented Application or Script from Running (core)
- AppLocker Application Would Have Been Blocked (core)
- HackTool - CACTUSTORCH Remote Thread Creation (core)
- WScript or CScript Dropper - File (core)
- HackTool - NetExec File Indicators (core)
- Adwind RAT / JRAT File Artifact (core)
- MMC Loading Script Engines DLLs (core)
- Registry Modification Attempt Via VBScript - PowerShell (core)
- Suspicious Child Process Of BgInfo.EXE (core)
- Uncommon Child Process Of BgInfo.EXE (core)
- Csc.EXE Execution Form Potentially Suspicious Parent (core)
- HTML Help HH.EXE Suspicious Child Process (core)
- Suspicious HH.EXE Execution (core)
- HackTool - Koadic Execution (core)
- Potential Reconnaissance Activity Via GatherNetworkInfo.VBS (core)
- Suspicious Reconnaissance Activity Via GatherNetworkInfo.VBS (core)
- Windows Shell/Scripting Processes Spawning Suspicious Programs (core)
- Registry Modification Attempt Via VBScript (core)
- Potential Remote SquiblyTwo Technique Execution (core)
- XSL Script Execution Via WMIC.EXE (core)
- WSF/JSE/JS/VBA/VBE File Execution Via Cscript/Wscript (threat-hunting)
- Adwind RAT / JRAT (emerging-threats)
- Potential APT10 Cloud Hopper Activity (emerging-threats)
- Potential QBot Activity (emerging-threats)
- Axios NPM Compromise Indicators - Windows (emerging-threats)
Showing 25 of 29 community rules.
The full set is tagged attack.t1059.005 in
SigmaHQ.
Elastic and Splunk rules
- Potential Prompt Injection Coercing Shell Execution (elastic)
- Script Interpreter Connection to Non-Standard Port (elastic)
- Remote File Download via Script Interpreter (elastic)
- Suspicious ScreenConnect Client Child Process (elastic)
- Suspicious .NET Code Compilation (elastic)
- Microsoft Build Engine Started by a Script Process (elastic)
- Script Execution via Microsoft HTML Application (elastic)
- Delayed Execution via Ping (elastic)
- Command and Scripting Interpreter via Windows Scripts (elastic)
- Windows Script Execution from Archive (elastic)
- Microsoft Management Console File from Unusual Path (elastic)
- Execution of a Downloaded Windows Script (elastic)
- Windows Script Executing PowerShell (elastic)
- Windows Script Interpreter Executing Process via WMI (elastic)
- Suspicious Explorer Child Process (elastic)
- Remote XSL Script Execution via COM (elastic)
- Scheduled Task Created by a Windows Script (elastic)
- Web Shell Detection: Script Process Child of Common Web Processes (elastic)
- Service Control Spawned via Script Interpreter (elastic)
- Cisco NVM - MSHTML or MSHTA Network Execution Without URL in CLI (splunk)
- Cisco NVM - Susp Script From Archive Triggering Network Activity (splunk)
- Execute Javascript With Jscript COM CLSID (splunk)
- Vbscript Execution Using Wscript App (splunk)
- Windows Outlook Macro Created by Suspicious Process (splunk)
- Suspicious Process DNS Query Known Abuse Web Services (splunk)
Showing 25 of 26.
MITRE 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).
Research citing this technique
Reports and advisories from the last 90 days that cite this technique.