Skip to content

Siemphony is in beta and still being built. What ships today, and what does not.

Siemphony’s repertoire

Local drive and volume enumeration from the command line

Siemphony@siemphonylowT1680unverified
AN0536's Windows shape: a process-creation record whose command line carries one of the built-in ways to list local drives, disks and volumes with their size, free space and serial number — `wmic logicaldisk get`, any reference to the Win32_LogicalDisk / Win32_Volume / Win32_DiskDrive WMI classes from PowerShell or a script, `Get-PSDrive`, `Get-Volume`, and the two fsutil subcommands that report the drive list and free space. The gate is the command line alone with no image restriction, deliberately: `logicaldisk` reaches the same enumeration whether it is typed at wmic.exe, passed to Get-WmiObject/Get-CimInstance, or run from a renamed copy of either, and an image list would have to be re-derived for each of those. Three limits are structural. The technique's Win32 API route (`GetDriveType`, `GetLogicalDrives`) leaves no command line at all and is invisible here; a cmdlet typed into an already-running PowerShell console never reaches a process-creation event, so only `-Command`/`-EncodedCommand` style invocations and scripts launched as their own process appear; and an encoded or obfuscated command line defeats every substring above. This rule is written in the Sysmon EventID 1 vocabulary (Image, CommandLine), which is the log source the analytic names; where the same Sigma category is fed by Security EventID 4688 instead, that channel needs *Audit Process Creation* plus the separate *Include command line in process creation events* policy before CommandLine holds anything, and a field mapping to NewProcessName first. The brief's Linux and macOS analytics (AN0537, AN0538) are separate log sources and are not covered here. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0188, 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 "logicaldisk" or ProcessCommandLine contains "Win32_Volume" or ProcessCommandLine contains "Win32_DiskDrive" or ProcessCommandLine contains "Get-PSDrive" or ProcessCommandLine contains "Get-Volume" or ProcessCommandLine contains "fsutil fsinfo drives" or ProcessCommandLine contains "fsutil volume diskfree")

Splunk · SPL

Run this as a search.

index=* (CommandLine="*logicaldisk*" OR CommandLine="*Win32_Volume*" OR CommandLine="*Win32_DiskDrive*" OR CommandLine="*Get-PSDrive*" OR CommandLine="*Get-Volume*" OR CommandLine="*fsutil fsinfo drives*" OR CommandLine="*fsutil volume diskfree*")

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.command_line) LIKE "*logicaldisk*" OR TO_LOWER(process.command_line) LIKE "*win32_volume*" OR TO_LOWER(process.command_line) LIKE "*win32_diskdrive*" OR TO_LOWER(process.command_line) LIKE "*get-psdrive*" OR TO_LOWER(process.command_line) LIKE "*get-volume*" OR TO_LOWER(process.command_line) LIKE "*fsutil fsinfo drives*" OR TO_LOWER(process.command_line) LIKE "*fsutil volume diskfree*")

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)(logicaldisk|Win32_Volume|Win32_DiskDrive|Get-PSDrive|Get-Volume|fsutil fsinfo drives|fsutil volume diskfree)</field>    <description>Local drive and volume enumeration from the command line</description>    <mitre>      <id>T1680</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.