Detection rules › Sigma

Visual Basic Command Line Compiler Usage

Status
test
Severity
high
Log source
product windows, category process_creation
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.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

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

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Imageends_with
  • \cvtres.exe corpus 2 (sigma 2)
ParentImageends_with
  • \vbc.exe