{"id":"5fdce3ac-e7f9-4ecd-a3aa-a4d78ebbf0af","title":"Mstsc.EXE Execution With Local RDP File","description":"Detects potential RDP connection via Mstsc using a local \".rdp\" file","author":"Nasreddine Bencherchali (Nextron Systems), Christopher Peacock @securepeacock","status":"test","level":"low","date":"2023-04-18","modified":"2023-04-30","tags":["attack.command-and-control","attack.t1219.002"],"technique_ids":["T1219.002"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Likely with legitimate usage of \".rdp\" files"],"references":["https://www.blackhillsinfosec.com/rogue-rdp-revisiting-initial-access-methods/","https://web.archive.org/web/20230726144748/https://blog.thickmints.dev/mintsights/detecting-rogue-rdp/"],"source_path":"rules/windows/process_creation/proc_creation_win_mstsc_run_local_rdp_file.yml","source_sha256":"f3642e54fd643729c9ce22428056c3c18f9c4d587c9bec53ccf0e7be0276b9aa","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_mstsc_run_local_rdp_file.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Mstsc.EXE Execution With Local RDP File\nid: 5fdce3ac-e7f9-4ecd-a3aa-a4d78ebbf0af\nstatus: test\ndescription: Detects potential RDP connection via Mstsc using a local \".rdp\" file\nreferences:\n    - https://www.blackhillsinfosec.com/rogue-rdp-revisiting-initial-access-methods/\n    - https://web.archive.org/web/20230726144748/https://blog.thickmints.dev/mintsights/detecting-rogue-rdp/\nauthor: Nasreddine Bencherchali (Nextron Systems), Christopher Peacock @securepeacock\ndate: 2023-04-18\nmodified: 2023-04-30\ntags:\n    - attack.command-and-control\n    - attack.t1219.002\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\mstsc.exe'\n        - OriginalFileName: 'mstsc.exe'\n    selection_cli:\n        CommandLine|endswith:\n            - '.rdp'\n            - '.rdp\"'\n    filter_optional_wsl:\n        ParentImage: 'C:\\Windows\\System32\\lxss\\wslhost.exe'\n        CommandLine|contains: 'C:\\ProgramData\\Microsoft\\WSL\\wslg.rdp'\n    condition: all of selection_* and not 1 of filter_optional_*\nfalsepositives:\n    - Likely with legitimate usage of \".rdp\" files\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1219.002","id":"T1219.002","name":"Remote Desktop Software","page":"techniques/enterprise/T1219.002/"}],"data_path":"data/detection-rules/5fdce3ac-e7f9-4ecd-a3aa-a4d78ebbf0af.json","kind":"sigma"}
