Detection rules › Sigma
Network share manipulation via commandline
Detects scenarios where an attacker attempts to enumerate or to establish a connection to a network share.
Known false positives
- Pentest
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Lateral Movement |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Security-Auditing | Event ID 4688: A new process has been created. |
Rule body
title: Network share manipulation via commandline
description: Detects scenarios where an attacker attempts to enumerate or to establish a connection to a network share.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0008-Lateral%20Movement/T1021.002%20-SMB%20Windows%20Admin%20Shares
- https://blogs.jpcert.or.jp/en/2016/01/windows-commands-abused-by-attackers.html
- https://attack.mitre.org/software/S0039/
tags:
- attack.lateral_movement
- attack.t1021.002
author: mdecrevoisier
logsource:
product: windows
category: process_creation
detection:
selection: # Full command example: 'net share'
EventID: 4688
NewProcessName|endswith:
- \net1.exe
- \net.exe
CommandLine|contains: share
condition: selection
falsepositives:
- Pentest
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
EventID: 4688
NewProcessName|endswith:
- \net1.exe
- \net.exe
CommandLine|contains: share
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CommandLine | match |
| field:"CommandLine" kind:match value:"share" |
NewProcessName | ends_with |
| field:"Image" kind:ends_with |