Detectionmediumtest

Diskshadow Script Mode - Execution From Potential Suspicious Location

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Fri Sep 15Updated Tue Mar 05fa1a7e52-3d02-435b-81b8-00da14dd66c1windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_img:
        - OriginalFileName: 'diskshadow.exe'
        - Image|endswith: '\diskshadow.exe'
    selection_cli:
        CommandLine|contains|windash: '-s '
    selection_paths:
        CommandLine|contains:
            # Note: Add additional susp paths based on your org needs
            - ':\Temp\'
            - ':\Windows\Temp\'
            - '\AppData\Local\'
            - '\AppData\Roaming\'
            - '\ProgramData\'
            - '\Users\Public\'
    condition: all of selection_*
False Positives

False positives may occur if you execute the script from one of the paths mentioned in the rule. Apply additional filters that fits your org needs.

Rule Metadata
Rule ID
fa1a7e52-3d02-435b-81b8-00da14dd66c1
Status
test
Level
medium
Type
Detection
Created
Fri Sep 15
Modified
Tue Mar 05
Path
rules/windows/process_creation/proc_creation_win_diskshadow_script_mode_susp_location.yml
Raw Tags
attack.defense-evasionattack.t1218
View on GitHub