Detectionhightest

Remote Thread Creation In Mstsc.Exe From Suspicious Location

Detects remote thread creation in the "mstsc.exe" process by a process located in a potentially suspicious location. This technique is often used by attackers in order to hook some APIs used by DLLs loaded by "mstsc.exe" during RDP authentications in order to steal credentials.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-07-28Updated 2024-01-22c0aac16a-b1e7-4330-bab0-3c27bb4987c7windows
Log Source
WindowsRemote Thread Creation
ProductWindows← raw: windows
CategoryRemote Thread Creation← raw: create_remote_thread
Detection Logic
Detection Logic1 selector
detection:
    selection:
        TargetImage|endswith: '\mstsc.exe'
        SourceImage|contains:
            - ':\Temp\'
            - ':\Users\Public\'
            - ':\Windows\PerfLogs\'
            - ':\Windows\Tasks\'
            - ':\Windows\Temp\'
            - '\AppData\Local\Temp\'
    condition: selection
False Positives
Unknown

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

MITRE ATT&CK
Rule Metadata
Rule ID
c0aac16a-b1e7-4330-bab0-3c27bb4987c7
Status
test
Level
high
Type
Detection
Created
2023-07-28
Modified
2024-01-22
Path
rules/windows/create_remote_thread/create_remote_thread_win_mstsc_susp_location.yml
Raw Tags
attack.credential-access
View on GitHub