Possible Register_App.Vbs LOLScript Misuse (via process_creation)

This rule detects potential misuse of the "register_app.vbs" script that is part of the Windows SDK. The script offers the capability to register new VSS/VDS Provider as a COM+ application. Adversaries can use this to install hostile DLLs for persistence and execution.

SigmamediumWindowsv1
sigma
title: Possible Register_App.Vbs LOLScript Misuse (via process_creation)
id: 742c6e3b-e88f-5b95-91ec-e3c38b47c2d6
status: stable
description: This rule detects potential misuse of the "register_app.vbs" script that is part of the Windows SDK. The script offers the capability to register new VSS/VDS Provider as a COM+ application. Adversaries can use this to install hostile DLLs for persistence and execution.
references:
    - https://attack.mitre.org/techniques/T1218/
    - https://twitter.com/sblmsrsn/status/1456613494783160325?s=20
    - https://github.com/microsoft/Windows-classic-samples/blob/7cbd99ac1d2b4a0beffbaba29ea63d024ceff700/Samples/Win7Samples/winbase/vss/vsssampleprovider/register_app.vbs
author: Huntrule Team
date: 2026-05-01
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\cscript.exe'
              - '\wscript.exe'
        - OriginalFileName:
              - 'cscript.exe'
              - 'wscript.exe'
    selection_cli:
        CommandLine|contains: '.vbs -register '
    condition: all of selection*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.