PeekABoo : Penetration Testing To Enable Remote Desktop On The Targeted Machine

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.

Also Read – Joy : To Capture & Analyse Network Flow Data & Intraflow Data

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 do 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

R K

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

4 hours ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

5 hours ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

2 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

5 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago