Detectionmediumtest

Visual Studio Code Tunnel Remote File Creation

Detects the creation of file by the "node.exe" process in the ".vscode-server" directory. Could be a sign of remote file creation via VsCode tunnel feature

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-10-2556e05d41-ce99-4ecd-912d-93f019ee0b71windows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event

Events for file system activity including creation, modification, and deletion.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|contains: '\servers\Stable-'
        Image|endswith: '\server\node.exe'
        TargetFilename|contains: '\.vscode-server\data\User\History\'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

References
1
Resolving title…
Internal Research
Rule Metadata
Rule ID
56e05d41-ce99-4ecd-912d-93f019ee0b71
Status
test
Level
medium
Type
Detection
Created
2023-10-25
Path
rules/windows/file/file_event/file_event_win_vscode_tunnel_remote_creation_artefacts.yml
Raw Tags
attack.command-and-control
View on GitHub