Process command line references a raw volume or device path
AN1193's `TargetObjectPattern` knob asks for a match against `\Device\HarddiskVolume` or `\.\PhysicalDrive*`, but the analytic's own process_access log source (Sysmon EventID 10) cannot carry it: that event's only path-shaped field is `TargetImage`, the process being accessed, which is always an executable path and never a device path, so a selector built on it would parse, render and never fire. Process creation is the one field set left in the brief that can hold the pattern at all, and only where the device path is spelled out on the command line rather than passed through an API — the case the technique description gives directly: `esentutl`'s `/vss` switch snapshotting a database for raw copy, and the `\Device\`, `PhysicalDrive` and `GLOBALROOT` literals that show up when a tool like NinjaCopy or a shadow-copy-based extractor is invoked with the target spelled out. A script that opens the handle programmatically without ever writing the device path to its own command line — the more common shape for NinjaCopy specifically — leaves no trace here; that is a real gap, not a false positive, and nothing in this brief's two log sources closes it. This category maps to Security EventID 4688 in the brief, not Sysmon EventID 1, so it returns nothing by default: it needs the *Audit Process Creation* subcategory enabled, and separately the *Include command line in process creation events* policy, or `CommandLine` is logged empty and every selector above is silently blind. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0426, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
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 "PhysicalDrive" or ProcessCommandLine contains "HarddiskVolume" or ProcessCommandLine contains "GLOBALROOT") or (FolderPath endswith "\\esentutl.exe" and ProcessCommandLine contains "/vss"))
Splunk · SPL
Run this as a search.
index=* ((CommandLine="*PhysicalDrive*" OR CommandLine="*HarddiskVolume*" OR CommandLine="*GLOBALROOT*") OR (Image="*\\esentutl.exe" AND CommandLine="*/vss*"))Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE ((TO_LOWER(process.command_line) LIKE "*physicaldrive*" OR TO_LOWER(process.command_line) LIKE "*harddiskvolume*" OR TO_LOWER(process.command_line) LIKE "*globalroot*") OR (TO_LOWER(process.executable) LIKE "*\\\\esentutl.exe" AND TO_LOWER(process.command_line) LIKE "*/vss*"))
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. --> <!-- 2 rules: the Sigma condition ORs across different fields, which one rule cannot express. Any one matching is a hit. --> <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)(PhysicalDrive|HarddiskVolume|GLOBALROOT)</field> <description>Process command line references a raw volume or device path (1/2)</description> <mitre> <id>T1006</id> </mitre> </rule> <rule id="100001" level="5"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\esentutl\.exe$</field> <field name="CommandLine" type="pcre2">(?i)/vss</field> <description>Process command line references a raw volume or device path (2/2)</description> <mitre> <id>T1006</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo 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.