Possible Regsvr32 Commandline Flag Anomaly (via process_creation)

This rule detects a potential command line flag anomaly related to "regsvr32" in which the "/i" flag is used without the "/n" which should be uncommon.

SigmamediumWindowsv1
sigma
title: Possible Regsvr32 Commandline Flag Anomaly (via process_creation)
id: 618393dd-f00c-5fe8-a64d-47ba761814e9
status: stable
description: This rule detects a potential command line flag anomaly related to "regsvr32" in which the "/i" flag is used without the "/n" which should be uncommon.
references:
    - https://attack.mitre.org/techniques/T1218/010/
    - https://twitter.com/sbousseaden/status/1282441816986484737?s=12
author: Huntrule Team
date: 2026-05-10
tags:
    - attack.stealth
    - attack.t1218.010
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\regsvr32.exe'
        CommandLine|contains|windash: ' -i:'
    filter_main_flag:
        CommandLine|contains|windash: ' -n '
    condition: selection and not 1 of filter_main_*
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.