Windows: RDP Session Startup Folder Backdoor via tsclient Share Targeting Startup Path

Flags mstsc.exe activity writing to the Windows Startup folder, indicating potential RDP session backdoor placement.

FreeReviewedSigma · High · v2
Product
windows
Category
file_event
Author
Samir Bousseaden (SigmaHQ), DRL 1.1
Published
2019-02-21
Updated
2026-07-31
title: "Windows: RDP Session Startup Folder Backdoor via tsclient Share Targeting Startup Path"
id: 3002505b-8f39-4f17-92d0-f59a3df45140
status: test
description: This rule flags file activity where tsclient-related RDP usage results in a payload being written to the RDP source machine’s Windows Startup folder. Attackers can use startup folder persistence to execute malware when the user logs in, enabling follow-on lateral movement. The detection relies on Windows file event telemetry showing ms tsc activity and a targeted filename path under the Start Menu Programs Startup directory.
author: Samir Bousseaden, Huntrule Team
references:
  - Internal Research
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_event/file_event_win_tsclient_filewrite_startup.yml
date: 2019-02-21
modified: 2021-11-27
tags:
  - attack.command-and-control
  - attack.t1219.002
logsource:
  product: windows
  category: file_event
detection:
  selection:
    Image|endswith: \mstsc.exe
    TargetFilename|contains: \Microsoft\Windows\Start Menu\Programs\Startup\
  condition: selection
falsepositives:
  - Unlikely
level: high
license: DRL-1.1
related:
  - id: 52753ea4-b3a0-4365-910d-36cff487b789
    type: derived