Detection rules › Sigma

Visual Basic Command Line Compiler Usage

Status
test
Severity
high
Log source
category process_creation, product windows
Author
Ensar Şamil, @sblmsrsn, @oscd_initiative
Source
github.com/SigmaHQ/sigma

Detects successful code compilation via Visual Basic Command Line Compiler that utilizes Windows Resource to Object Converter.

Known false positives

  • Utilization of this tool should not be seen in enterprise environment

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: Visual Basic Command Line Compiler Usage
id: 7b10f171-7f04-47c7-9fa2-5be43c76e535
status: test
description: Detects successful code compilation via Visual Basic Command Line Compiler that utilizes Windows Resource to Object Converter.
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Vbc/
author: 'Ensar Şamil, @sblmsrsn, @oscd_initiative'
date: 2020-10-07
modified: 2021-11-27
tags:
    - attack.stealth
    - attack.t1027.004
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\vbc.exe'
        Image|endswith: '\cvtres.exe'
    condition: selection
falsepositives:
    - Utilization of this tool should not be seen in enterprise environment
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\vbc.exe'
    Image|endswith: '\cvtres.exe'

Indicators

These rows show field, operator, and value matches.