--- title: "RDPexec" section: "Windows" sectionSlug: "windows-hardening" sourcePath: "src/windows-hardening/lateral-movement/rdpexec.md" sourceUrl: "https://github.com/HackTricks-wiki/hacktricks/blob/188de82beb54e70956b2952367a0af91d26758b8/src/windows-hardening/lateral-movement/rdpexec.md" sha: "188de82beb54e70956b2952367a0af91d26758b8" isIndex: false modified: true license: "CC-BY-NC-4.0" --- # RDPexec ## How It Works **RDPexec** refers to executing commands on a remote system after logging in through Remote Desktop Protocol (RDP). RDP provides a remote graphical interface and normally requires an authorized account on the target host.[[1]](#references) For background on RDP enumeration, configuration, and attack techniques, see: [Pentesting Rdp](/hacktricks/network-services-pentesting/pentesting-rdp) ## References - [1] [Microsoft Learn - About Remote Desktop Services](https://learn.microsoft.com/en-us/windows/win32/termserv/about-terminal-services)