Detection rules › Sigma
New network file share created
Detects scenarios when a new file share is created.
Known false positives
- Administrator actvity
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Lateral Movement |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Security-Auditing | Event ID 5142: A network share object was added. |
Rule body
title: New network file share created
description: Detects scenarios when a new file share is created.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0008-Lateral%20Movement/T1021.002%20-SMB%20Windows%20Admin%20Shares
- https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-5142
tags:
- attack.lateral_movement
- attack.t1021.002
author: mdecrevoisier
status: experimental
logsource:
product: windows
service: security
detection:
selection:
EventID: 5142
filter:
SubjectUserName|endswith: '$' # Share created by the system are ignored
condition: selection and not filter
falsepositives:
- Administrator actvity
level: medium
Stages and Predicates
Stage 0: condition
selection and not filterStage 1: selection
selection:
EventID: 5142
Stage 2: not filter
filter:
SubjectUserName|endswith: '$'
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
SubjectUserName | ends_with | $ | excludes:SubjectUserName field:"SubjectUserName" value:"$" |