Interactive remote PowerShell Payload
Python C C# Other
Switch branches/tags
Nothing to show
Clone or download
Latest commit ed2a6aa Jan 21, 2016
Failed to load latest commit information.
harness Incorrect Arch Oct 3, 2015
src v1.0 Release Sep 25, 2015
.gitignore v1.0 Release Sep 25, 2015
LICENSE Initial commit Aug 7, 2015 Fixed typo Jan 21, 2016 Initial Aug 7, 2015
changelog Fixed Typo Sep 27, 2015 v1.0 Release Sep 25, 2015 Initial Aug 7, 2015


Interactive remote PowerShell Payload

Many thanks to: @ruddawg26, @sploitmonkey, @harmj0y, @sixdub, @mattifestation


@RGKelley5, rk5devmail[a t]gmail[d o t]com

Info and Usage Guide:


Harness is remote access payload with the ability to provide a remote interactive PowerShell interface from a Windows system to virtually any TCP socket. The primary goal of the Harness Project is to provide a remote interface with the same capabilities and overall feel of the native PowerShell executable bundled with the Windows OS.

Payload Features:

  • Remote PowerShell CLI
  • Multiline command processing similar to native PowerShell.exe
  • Supports remote importing of PowerShell modules without additional staging (requires supporting handler)
  • Unmanaged payload allows for white list bypassing
  • Reflective payload allows for payload to be injected into other processes


Unless otherwise indicated all original Harness code is release under the MIT license. However, ReflectiveHarness draws heavily from the following projects, and would otherwise not have been possible:

Their respective licenses are included in any source code that was used.


Harness is bundled in a small Python framework. Python 3.4+ is required because the handler is implemented around the asyncio library. To install Python3.4 as an alternate install you can run the following commands:

tar xf Python-3.4.3.tar.xz
cd Python-3.4.3
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall

Other than installing Python 3, installation only requires that you unzip the Harness folder to a location of your choosing. Currently the framework has only been tested on Kali Linux, and was not designed for Windows.

*** UPDATE *** There are known install issues on Kali 2.0. A new install script is in the works. In the mean time run these commands to fix install and autocomplete errors:

apt-get install libssl-dev openssl
apt-get install python3-pip
apt-get install libncurses5-dev
pip3 install readline

Starting Harness:

cd /Harness