Peekaboo - Tool To Enable Remote Desktop On The Targeted Machine
PeekABoo tool tin post away live on used during internal penetration testing when a user needs to enable Remote Desktop on the targeted machine. It uses PowerShell remoting to perform this task.
The tool solely plant if WinRM is enabled. Since Windows Server 2012 WinRM is enabled past times default on all Windows server operating systems, but non on customer operating systems.
Note: Remote desktop is disabled past times default on all Windows operating systems. User would require local administrator password or administrator privileges on the server to enable RDP on a targeted machine.
Screenshots
Targeted motorcar on an internal network has RDP disabled:
Enabling remote desktop service on a targeted motorcar past times pressing
option 2
:Successfully enabled remote desktop service on a targeted machine:
How to install?
- git clone https://github.com/Viralmaniar/PeekABoo.git - cd PeekABoo - python peekaboo.py
How create I purpose this?
- Press 1: This volition educate the PowerShell to unrestricted mode.
- Press 2: It enables the
Remote Desktop
on the targeted motorcar together with shows the RDP port (3389) status. - Press 3: It disables the
Remote Desktop
on the targeted machine. - Press 4: To buy the farm from the program.
My Windows motorcar does non accept Python installed, what should I do?
- Download an exe from the liberate department of the Github along amongst PowerShell files available here or create it on your ain using PyInstaller later reviewing the source code.
- Compile
peekaboo.py
into an executable using Pyinstaller
- PyInstaller is available on PyPI. You tin post away install it through pip:
pip install pyinstaller
Questions?
Twitter: https://twitter.com/maniarviral
LinkedIn: https://au.linkedin.com/in/viralmaniar