Detection rules › Sigma

Diskshadow Script Mode - Execution From Potential Suspicious Location

Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects execution of "Diskshadow.exe" in script mode using the "/s" flag where the script is located in a potentially suspicious location.

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1218 System Binary Proxy Execution

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: '\diskshadow.exe'
OriginalFileName: diskshadow.exe

Stage 2: all of selection_cli

CommandLine|contains: '-s '

Stage 3: all of selection_paths

or:
CommandLine|contains: ':\Temp\'
CommandLine|contains: ':\Windows\Temp\'
CommandLine|contains: '\AppData\Local\'
CommandLine|contains: '\AppData\Roaming\'
CommandLine|contains: '\ProgramData\'
CommandLine|contains: '\Users\Public\'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • -s corpus 3 (sigma 3)
  • :\Temp\ corpus 14 (sigma 14)
  • :\Windows\Temp\ corpus 15 (sigma 15)
  • \AppData\Local\ corpus 8 (sigma 8)
  • \AppData\Roaming\ corpus 10 (sigma 10)
  • \ProgramData\ corpus 2 (sigma 2)
  • \Users\Public\ corpus 17 (sigma 17)
Imageends_with
  • \diskshadow.exe corpus 3 (sigma 3)
OriginalFileNameeq
  • diskshadow.exe corpus 3 (sigma 3)