PeekABoo - Tool To Enable Remote Desktop On The Targeted Machine
2019-05-07 15:54:23 Author: www.kitploit.com(查看原文) 阅读量:335 收藏

PeekABoo tool can be 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 only works if WinRM is enabled. Since Windows Server 2012 WinRM is enabled by default on all Windows server operating systems, but not on client operating systems.

Note: Remote desktop is disabled by 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 machine on an internal network has RDP disabled:

Enabling remote desktop service on a targeted machine by 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 do I use this?

  • Press 1: This will set the PowerShell to unrestricted mode.
  • Press 2: It enables the Remote Desktop on the targeted machine and shows the RDP port (3389) status.
  • Press 3: It disables the Remote Desktop on the targeted machine.
  • Press 4: To exit from the program.

My Windows machine does not have Python installed, what should I do?

  • Download an exe from the release section of the Github along with PowerShell files available here or do it on your own using PyInstaller after reviewing the source code.
  • Compile peekaboo.py into an executable using Pyinstaller
  • PyInstaller is available on PyPI. You can install it through pip:
pip install pyinstaller

Questions?
Twitter: https://twitter.com/maniarviral
LinkedIn: https://au.linkedin.com/in/viralmaniar

PeekABoo - Tool To Enable Remote Desktop On The Targeted Machine PeekABoo - Tool To Enable Remote Desktop On The Targeted Machine Reviewed by Zion3R on 5:49 PM Rating: 5


文章来源: https://www.kitploit.com/2019/05/peekaboo-tool-to-enable-remote-desktop.html?utm_source=dlvr.it&utm_medium=twitter
如有侵权请联系:admin#unsafe.sh