Python Server for PoshC2
 
 
 
Go to file
R H 47431e2fea
Merge pull request #1 from nettitude/master
Updating fork via web interface
2018-12-14 00:22:37 +00:00
Files Removed process start for Netsh.exe on non migrate executable 2018-11-20 14:16:59 +00:00
Images Initial Commit 2018-07-23 09:55:15 +01:00
Modules Updated Get-IPAddress 2018-12-07 14:25:22 +00:00
.gitignore Initial Commit 2018-07-23 09:55:15 +01:00
AutoLoads.py Added 32bit -> 64bit migration using https://github.com/Coder666/Invoke-CreateRemoteThread64 2018-11-19 19:38:53 +00:00
C2Server.py Updated to include change for https://github.com/nettitude/PoshC2_Python/issues/13 2018-12-12 16:28:18 +00:00
C2Viewer.py Initial Commit 2018-07-23 09:55:15 +01:00
Cert.py Initial Commit 2018-07-23 09:55:15 +01:00
Colours.py Initial Commit 2018-07-23 09:55:15 +01:00
Config.py 'Updated print statements in preperation for Python3' 2018-10-27 19:50:47 +01:00
Core.py 'Removed Print' 2018-09-02 20:09:58 +01:00
DB.py 'Added List-URLs Command to DB' 2018-10-10 08:16:32 +01:00
HTML.py 'Removed html and replaced with cgi' 2018-10-27 19:57:28 +01:00
Help.py Added 32bit -> 64bit migration using https://github.com/Coder666/Invoke-CreateRemoteThread64 2018-11-19 19:38:53 +00:00
INSTALL.txt Updated INSTALL notes 2018-12-02 01:15:02 +00:00
INSTALL_Socks.txt Initial Commit 2018-07-23 09:55:15 +01:00
INSTALL_Windows.txt Initial Commit 2018-07-23 09:55:15 +01:00
Implant.py Updated to work with FIPSAlgorithmPolicy 2018-12-02 00:57:25 +00:00
ImplantHandler.py Updated to add option to upload file that is not Hidden & System - 2018-11-15 14:10:40 +00:00
Install.sh Initial Commit 2018-07-23 09:55:15 +01:00
LICENSE Initial Commit 2018-07-23 09:55:15 +01:00
OfflineReportGenerator.py Removed versioning and typo 2018-12-06 22:13:43 +00:00
Payloads.py Updated to work with FIPSAlgorithmPolicy 2018-12-02 00:57:25 +00:00
README.md Updated README 2018-12-12 16:23:57 +00:00
TabComplete.py Initial Commit 2018-07-23 09:55:15 +01:00
Tasks.py Updated InstallEXE-Persistence 2018-08-09 10:40:35 +01:00
Update.sh Update update.sh 2018-09-26 17:01:25 +01:00
changelog.txt Added 32bit -> 64bit migration using https://github.com/Coder666/Invoke-CreateRemoteThread64 2018-11-19 19:38:53 +00:00
poshc2.service Initial Commit 2018-07-23 09:55:15 +01:00
requirements.txt Initial Commit 2018-07-23 09:55:15 +01:00

README.md

PoshC2

PoshC2 is a proxy aware C2 framework that utilises Powershell and/or equivalent (System.Management.Automation.dll) to aid penetration testers with red teaming, post-exploitation and lateral movement. Powershell was chosen as the base implant language as it provides all of the functionality and rich features without needing to introduce multiple third party libraries to the framework.

In addition to the Powershell implant, PoshC2 also has a basic dropper written purely in Python that can be used for command and control over Unix based systems such as Mac OS or Ubuntu.

The server-side component is written in Python for cross-platform portability and speed, a Powershell server component still exists and can be installed using the 'Windows Install' as shown below but will not be maintained with future updates and releases.

Linux Install of PoshC2_Python

Install using curl & bash

curl -sSL https://raw.githubusercontent.com/nettitude/PoshC2_Python/master/Install.sh | bash

Manual install

wget https://raw.githubusercontent.com/nettitude/PoshC2_Python/master/Install.sh
chmod +x ./Install.sh
./Install.sh

Windows Install of PoshC2

powershell -exec bypass -c "IEX (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/nettitude/PoshC2/master/C2-Installer.ps1')"

Issues / FAQs

If you are experiencing any issues during the installation or use of PoshC2 please refer checkout the open issues tracking page within GitHub. If this page doesn't have what you're looking for please open a new issue and we will try to resolve the issue asap.

If you are looking for tips and tricks on PoshC2 usage and optimisation, you are welcome to join the slack channel below.

License / Terms of Use

This software should only be used for authorised testing activity and not for malicious use.

By downloading this software you are accepting the terms of use and the licensing agreement.

Documentation

We maintain PoshC2 documentation over at https://poshc2.readthedocs.io/en/latest/

Find us on #Slack - poshc2.slack.com (to request an invite send an email to labs@nettitude.com)