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.[1],[2]

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.[3],[4] 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]

References

  1. .NET Team. (2020, March 11). Visual Basic support planned for .NET 5.0. Retrieved June 23, 2020.
  2. Microsoft. (n.d.). Visual Basic documentation. Retrieved June 23, 2020.
  3. Microsoft. (2019, June 11). Office VBA Reference. Retrieved June 23, 2020.
  4. Wikipedia. (n.d.). Visual Basic for Applications. Retrieved August 13, 2020.
  5. Microsoft. (2011, April 19). What Is VBScript?. Retrieved March 28, 2020.
  6. Kellie Eickmeyer. (2022, February 7). Helping users stay safe: Blocking internet macros by default in Office. Retrieved February 7, 2022.

Propojené úkoly

Vazby
Typ vazby Úkol
is related to Techniques
is blocked by Behavioral Detection of Visual Basic Execution (VBS/VBA/VBScript)
is blocked by Disable or Remove Feature or Program
is blocked by Antivirus/Antimalware
is blocked by Execution Prevention
is blocked by Behavior Prevention on Endpoint
is blocked by Restrict Web-Based Content
is blocked by Asset Governance
is blocked by Statutory, Regulatory & Contractual Compliance
is blocked by Configuration Management Program
is blocked by Least Functionality
is blocked by Continuous Monitoring Policy
is blocked by Malicious Code Protection (Antimalware)
is blocked by Documented Endpoint Security Protection Measures
is blocked by Extended Detection & Response (XDR)
is blocked by Password-Based Authentication
is blocked by Authenticator Feedback
is blocked by Restrictions on Shared Groups / Accounts
is blocked by Zero Trust Architecture (ZTA)
is blocked by Security Function Isolation
is blocked by Use of Live Data
is blocked by Vulnerability Ranking
is blocked by Vulnerability Remediation Process
is blocked by Asset Inventories
is blocked by Executive Leadership Oversight of Security, Compliance & Resilience Controls
is blocked by Secure Baseline Configurations
is blocked by Continuous Monitoring
is blocked by Endpoint File Integrity Monitoring (FIM)
is blocked by Mobile Code
is blocked by Account Management
is blocked by Access Enforcement
is blocked by Least Privilege
is blocked by Remote Access
is blocked by Memory Protection
is blocked by Input Data Validation
is blocked by Software & Firmware Patching
is blocked by Vulnerability Scanning