Detection rules › Sigma
NTFS symbolic link creation
Detects scenarios where an attacker attempts to create a symbolic link.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1547.009 Boot or Logon Autostart Execution: Shortcut Modification |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
| Security-Auditing | Event ID 4688 | A new process has been created. |
Rule body yaml
title: NTFS symbolic link creation
description: Detects scenarios where an attacker attempts to create a symbolic link.
references:
- https://twitter.com/Alh4zr3d/status/1630912251560329224
tags:
- attack.persistence
- attack.t1547.009 # Boot or Logon Autostart Execution: Shortcut Modification
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection:
NewProcessName|endswith: '\mklink.exe'
CommandLine|contains:
- '/h' # hard link
- '/d' # directory symbolic link
- '/j' # directory junction
condition: selection
falsepositives:
- admin activity on file server
level: medium
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
NewProcessName|endswith: '\mklink.exe'
CommandLine|contains:
- '/h'
- '/d'
- '/j'
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 |
|
NewProcessName | ends_with |
|