Sigma rule: Bad Opsec Defaults Sacrificial Processes With Improper Arguments

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7f7637bebb52, updated 2024-08-15T00:00:00.000Z.

Rule

Title
Bad Opsec Defaults Sacrificial Processes With Improper Arguments
Status
test
Level
high
Author
Oleg Kolesnikov @securonix invrep_de, oscd.community, Florian Roth (Nextron Systems), Christian Burkard (Nextron Systems)
Date
2020-10-23
Modified
2024-08-15
File
rules/windows/process_creation/proc_creation_win_susp_bad_opsec_sacrificial_processes.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attackers using tooling with bad opsec defaults.
E.g. spawning a sacrificial process to inject a capability into the process without taking into account how the process is normally run.
One trivial example of this is using rundll32.exe without arguments as a sacrificial process (default in CS, now highlighted by c2lint), running WerFault without arguments (Kraken - credit am0nsec), and other examples.

Log source

product
windows
category
process_creation

Detection

selection_werfault:
    Image|endswith: '\WerFault.exe'
    CommandLine|endswith: 'WerFault.exe'
selection_rundll32:
    Image|endswith: '\rundll32.exe'
    CommandLine|endswith: 'rundll32.exe'
selection_regsvcs:
    Image|endswith: '\regsvcs.exe'
    CommandLine|endswith: 'regsvcs.exe'
selection_regasm:
    Image|endswith: '\regasm.exe'
    CommandLine|endswith: 'regasm.exe'
selection_regsvr32:
    Image|endswith: '\regsvr32.exe'
    CommandLine|endswith: 'regsvr32.exe'
filter_optional_edge_update:
    ParentImage|contains: '\AppData\Local\Microsoft\EdgeUpdate\Install\{'
    Image|endswith: '\rundll32.exe'
    CommandLine|endswith: 'rundll32.exe'
filter_optional_chromium_installer:
    # As reported in https://github.com/SigmaHQ/sigma/issues/4570 and others
    ParentImage|contains:
        - '\AppData\Local\BraveSoftware\Brave-Browser\Application\'
        - '\AppData\Local\Google\Chrome\Application\'
    ParentImage|endswith: '\Installer\setup.exe'
    ParentCommandLine|contains: '--uninstall '
    Image|endswith: '\rundll32.exe'
    CommandLine|endswith: 'rundll32.exe'
condition: 1 of selection_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.stealth
  • attack.t1218.011

MITRE ATT&CK ids this rule names

Related rules

  • f5647edc-a7bf-4737-ab50-ef8c60dc3add (obsolete)

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_bad_opsec_sacrificial_processes.yml

Sources and licences

  • SigmaHQ

    "Bad Opsec Defaults Sacrificial Processes With Improper Arguments" by Oleg Kolesnikov @securonix invrep_de, oscd.community, Florian Roth (Nextron Systems), Christian Burkard (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_bad_opsec_sacrificial_processes.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Bad Opsec Defaults Sacrificial Processes With Improper Arguments",
entity page, dataset version ref-7f7637bebb52, updated 2024-08-15T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a7c3d773-caef-227e-a7e7-c2f13c622329 (accessed 2026-11-03).
Underlying source: SigmaHQ rule a7c3d773-caef-227e-a7e7-c2f13c622329, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.