Skip to content

Siemphony is in beta and still being built. How a rule earns its badge.

Siemphony’s repertoire

Native Windows utility deletes shadow copies or disables recovery

Siemphony@siemphonylowT1490unverified
AN0933's CommandLinePattern knob names six native utilities together — vssadmin, wbadmin, diskshadow, bcdedit, REAgentC and wmic — and this rule now carries a selector for each of them, including the technique's own textbook example, `vssadmin.exe delete shadows /all /quiet`. The vssadmin, wbadmin, wmic shadowcopy and bcdedit selectors are the same observables the corpus's T1486 rule (data/detections/T1486/rule.yml) matches, because MITRE explains T1490 as augmenting T1485/T1486 rather than standing apart from them — a hit here is deliberately redundant with that rule rather than leaving this technique's own folder blind to its most common real-world execution path. `reagentc /disable` (turns off the Windows Recovery Environment's automatic repair) and `diskshadow.exe` invocation are the two commands unique to this rule; diskshadow's scripted shadow-copy deletion happens inside a script file this process-creation event never shows, so the tool's mere presence on the command line is what this rule can see, not what its script does. Every selection matches on CommandLine alone — the diskshadow leg was moved off Image so the rule stays a single-field OR that all four backends render. Renaming any of these six binaries before invoking it removes the matched substring from CommandLine and evades the corresponding selector entirely, identically to how T1486 is evaded. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0329, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

The detection

The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.

detection.yml

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where ((ProcessCommandLine contains "vssadmin" and ProcessCommandLine contains "delete shadows") or (ProcessCommandLine contains "wbadmin" and ProcessCommandLine contains "delete") or (ProcessCommandLine contains "shadowcopy" and ProcessCommandLine contains "delete") or (ProcessCommandLine contains "bcdedit" and ProcessCommandLine contains "recoveryenabled") or (ProcessCommandLine contains "reagentc" and ProcessCommandLine contains "/disable") or ProcessCommandLine contains "diskshadow.exe")

Splunk · SPL

Run this as a search.

index=* ((CommandLine="*vssadmin*" AND CommandLine="*delete shadows*") OR (CommandLine="*wbadmin*" AND CommandLine="*delete*") OR (CommandLine="*shadowcopy*" AND CommandLine="*delete*") OR (CommandLine="*bcdedit*" AND CommandLine="*recoveryenabled*") OR (CommandLine="*reagentc*" AND CommandLine="*/disable*") OR CommandLine="*diskshadow.exe*")

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(process.command_line) LIKE "*vssadmin*" AND TO_LOWER(process.command_line) LIKE "*delete shadows*") OR (TO_LOWER(process.command_line) LIKE "*wbadmin*" AND TO_LOWER(process.command_line) LIKE "*delete*") OR (TO_LOWER(process.command_line) LIKE "*shadowcopy*" AND TO_LOWER(process.command_line) LIKE "*delete*") OR (TO_LOWER(process.command_line) LIKE "*bcdedit*" AND TO_LOWER(process.command_line) LIKE "*recoveryenabled*") OR (TO_LOWER(process.command_line) LIKE "*reagentc*" AND TO_LOWER(process.command_line) LIKE "*/disable*") OR TO_LOWER(process.command_line) LIKE "*diskshadow.exe*")

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,process_creation,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="CommandLine" type="pcre2">(?i)((?=.*(?:vssadmin))(?=.*(?:delete shadows)).*|(?=.*(?:wbadmin))(?=.*(?:delete)).*|(?=.*(?:shadowcopy))(?=.*(?:delete)).*|(?=.*(?:bcdedit))(?=.*(?:recoveryenabled)).*|(?=.*(?:reagentc))(?=.*(?:/disable)).*|diskshadow\.exe)</field>    <description>Native Windows utility deletes shadow copies or disables recovery</description>    <mitre>      <id>T1490</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.

Log in to report a verdict.

Log in to join the discussion.

No comments yet. Someone who deploys this will have something to say about it.