Detection rules › Sigma
Copy From Or To Admin Share Or Sysvol Folder
Detects a copy command or a copy utility execution to or from an Admin share or remote
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Lateral Movement | T1021.002 Remote Services: SMB/Windows Admin Shares |
| Collection | T1039 Data from Network Shared Drive |
| Exfiltration | T1048 Exfiltration Over Alternative Protocol |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
Stages and Predicates
Stage 1: selection_target
or:
CommandLine|contains: '\Sysvol\'
CommandLine|contains: '\\\\*\\*$'
Stage 2: selection_other_tools
or:
Image|endswith: '\robocopy.exe'
Image|endswith: '\xcopy.exe'
OriginalFileName: XCOPY.EXE
OriginalFileName: robocopy.exe
Stage 3: all of selection_cmd_img
or:
Image|endswith: '\cmd.exe'
OriginalFileName: Cmd.Exe
Stage 4: all of selection_cmd_cli
CommandLine|contains: copy
Stage 5: all of selection_pwsh_img
or:
Image|contains: '\powershell.exe'
Image|contains: '\powershell_ise.exe'
Image|contains: '\pwsh.exe'
OriginalFileName: PowerShell.EXE
OriginalFileName: powershell_ise.exe
OriginalFileName: pwsh.dll
Stage 6: all of selection_pwsh_cli
or:
CommandLine|contains: ' cp '
CommandLine|contains: ' mi '
CommandLine|contains: ' move-item'
CommandLine|contains: ' mv '
CommandLine|contains: 'copy '
CommandLine|contains: copy-item
CommandLine|contains: 'cpi '
CommandLine|contains: 'move '
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.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
Image | match |
|
OriginalFileName | eq |
|