Detection rules › Sigma

VMGuestLib DLL Sideload

Status
test
Severity
medium
Log source
product windows, category image_load
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects DLL sideloading of VMGuestLib.dll by the WmiApSrv service.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 7Image loaded

Rule body yaml

title: VMGuestLib DLL Sideload
id: 70e8e9b4-6a93-4cb7-8cde-da69502e7aff
status: test
description: Detects DLL sideloading of VMGuestLib.dll by the WmiApSrv service.
references:
    - https://decoded.avast.io/martinchlumecky/png-steganography/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-12-01
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|contains|all:
            - '\VMware\VMware Tools\vmStatsProvider\win32'
            - '\vmGuestLib.dll'
        Image|endswith: '\Windows\System32\wbem\WmiApSrv.exe'
    filter:
        Signed: 'true'
    condition: selection and not filter
falsepositives:
    - FP could occur if the legitimate version of vmGuestLib already exists on the system
level: medium

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    ImageLoaded|contains|all:
        - '\VMware\VMware Tools\vmStatsProvider\win32'
        - '\vmGuestLib.dll'
    Image|endswith: '\Windows\System32\wbem\WmiApSrv.exe'

Stage 2: not filter

filter:
    Signed: 'true'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
Signedeqtrue

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
  • \Windows\System32\wbem\WmiApSrv.exe
ImageLoadedmatch
  • \VMware\VMware Tools\vmStatsProvider\win32
  • \vmGuestLib.dll