Detection rules › Sigma

Suspicious Volume Shadow Copy Vssapi.dll Load

Status
test
Severity
high
Log source
product windows, category image_load
Author
frack113
Source
github.com/SigmaHQ/sigma

Detects the image load of VSS DLL by uncommon executables

MITRE ATT&CK coverage

TacticTechniques
ImpactT1490 Inhibit System Recovery

Event coverage

ProviderEventTitle
SysmonEvent ID 7Image loaded

Rule body yaml

title: Suspicious Volume Shadow Copy Vssapi.dll Load
id: 37774c23-25a1-4adb-bb6d-8bb9fd59c0f8
related:
    - id: 333cdbe8-27bb-4246-bf82-b41a0dca4b70 # vss_ps.dll
      type: similar
    - id: 48bfd177-7cf2-412b-ad77-baf923489e82 # vsstrace.dll
      type: similar
status: test
description: Detects the image load of VSS DLL by uncommon executables
references:
    - https://github.com/ORCx41/DeleteShadowCopies
author: frack113
date: 2022-10-31
modified: 2026-05-18
tags:
    - attack.impact
    - attack.t1490
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\vssapi.dll'
    filter_main_windows:
        - Image:
              - 'C:\Windows\explorer.exe'
              - 'C:\Windows\ImmersiveControlPanel\SystemSettings.exe'
        - Image|startswith:
              - 'C:\Windows\System32\'
              - 'C:\Windows\SysWOW64\'
              - 'C:\Windows\Temp\{' # Installers
              - 'C:\Windows\WinSxS\'
              - 'C:\$WinREAgent\Scratch\'
    filter_main_program_files:
        # When using this rule in your environment replace the "Program Files" folder by the exact applications you know use this. Examples would be software such as backup solutions
        Image|startswith:
            - 'C:\Program Files\'
            - 'C:\Program Files (x86)\'
    filter_main_null_image:
        Image: null
    filter_optional_programdata_packagecache:
        # The following filter is required because of many FPs cause by:
        #   C:\ProgramData\Package Cache\{10c6cfdc-27af-43fe-bbd3-bd20aae88451}\dotnet-sdk-3.1.425-win-x64.exe
        #   C:\ProgramData\Package Cache\{b9cfa33e-ace4-49f4-8bb4-82ded940990a}\windowsdesktop-runtime-6.0.11-win-x86.exe
        #   C:\ProgramData\Package Cache\{50264ff2-ad47-4569-abc4-1c350f285fb9}\aspnetcore-runtime-6.0.11-win-x86.exe
        #   C:\ProgramData\Package Cache\{2dcef8c3-1563-4149-a6ec-5b6c98500d7d}\dotnet-sdk-6.0.306-win-x64.exe
        #   etc.
        Image|startswith: 'C:\ProgramData\Package Cache\'
    filter_optional_avira:
        Image|contains|all:
            - '\temp\is-'
            - '\avira_system_speedup.tmp'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_* and not 1 of filter_optional_*

Stage 1: selection

selection:
    ImageLoaded|endswith: '\vssapi.dll'

Stage 2: not filter_main_*

filter_main_windows:
    - Image:
          - 'C:\Windows\explorer.exe'
          - 'C:\Windows\ImmersiveControlPanel\SystemSettings.exe'
    - Image|startswith:
          - 'C:\Windows\System32\'
          - 'C:\Windows\SysWOW64\'
          - 'C:\Windows\Temp\{'
          - 'C:\Windows\WinSxS\'
          - 'C:\$WinREAgent\Scratch\'
filter_main_program_files:
    Image|startswith:
        - 'C:\Program Files\'
        - 'C:\Program Files (x86)\'
filter_main_null_image:
    Image: null

Stage 3: not filter_optional_*

filter_optional_programdata_packagecache:
    Image|startswith: 'C:\ProgramData\Package Cache\'
filter_optional_avira:
    Image|contains|all:
        - '\temp\is-'
        - '\avira_system_speedup.tmp'

Exclusions

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

FieldKindExcluded values
ImageeqC:\Windows\ImmersiveControlPanel\SystemSettings.exe
ImageeqC:\Windows\explorer.exe
Imageis_null(no value, null check)
Imagestarts_withC:\$WinREAgent\Scratch\
Imagestarts_withC:\Program Files (x86)\
Imagestarts_withC:\Program Files\
Imagestarts_withC:\Windows\SysWOW64\
Imagestarts_withC:\Windows\System32\
Imagestarts_withC:\Windows\Temp\{
Imagestarts_withC:\Windows\WinSxS\
Imagematch\avira_system_speedup.tmp
Imagematch\temp\is-
Imagestarts_withC:\ProgramData\Package Cache\

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
ImageLoadedends_with
  • \vssapi.dll corpus 2 (sigma 2)