Giter Club home page Giter Club logo

abptts's Introduction

A Black Path Toward The Sun

(TCP tunneling over HTTP for web application servers)

https://www.blackhat.com/us-16/arsenal.html#a-black-path-toward-the-sun

Ben Lincoln, NCC Group, 2016

ABPTTS uses a Python client script and a web application server page/package[1] to tunnel TCP traffic over an HTTP/HTTPS connection to a web application server. In other words, anywhere that one could deploy a web shell, one should now be able to establish a full TCP tunnel. This permits making RDP, interactive SSH, Meterpreter, and other connections through the web application server.

The communication is designed to be fully compliant with HTTP standards, meaning that in addition to tunneling in through a target web application server, it can be used to establish an outbound connection through packet-inspecting firewalls.

A number of novel features are used to make detection of its traffic challenging. In addition to its usefulness to authorized penetration testers, it is intended to provide IDS/WPS/WAF developers with a safe, live example of malicious traffic that evades simplistic regex-pattern-based signature models.

An extensive manual is provided in PDF form, and walks the user through a variety of deployment scenarios.

This tool is released under version 2 of the GPL.

[1] Currently JSP/WAR and ASP.NET server-side components are included.

Compare and contrast with:

Named as an oblique reference to Cordyceps/Ophiocordyceps, e.g.: http://www.insectimages.org/browse/detail.cfm?imgnum=0014287

abptts's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abptts's Issues

Win run error.

Python 2.7

[2020-04-21 02:45:55.979000] WARNING: The current configuration ignores TLS/SSL certificate validation errors for connection to the server component. This increases the risk of the communication channel being intercepted or tampered with.
Traceback (most recent call last):
File "abpttsclient.py", line 671, in
dataBlockNameValueSeparator = base64.b64decode(conf.dataBlockNameValueSeparatorB64)
File "C:\Python\lib\base64.py", line 79, in b64decode
raise TypeError(msg)
TypeError: Incorrect padding

Problem with not verified SSL

Hi. Thanks for ABPTTS. It's very useful for me. But I have problem at this situation.How to disable verification of SSL certificate.(SSL certificate is trusted. From RapidSSL) It is possible as that to solve the problem. Sorry, for my English. Thanks in advance
a black path through the sun

UPDATED 08.05.2017
Sorry, I forgot to use help

Error when a SSH connection is launched

Hello nccgroup,

I'm trying to establish a SSH connection like you do at the Quick Start - Apache Tomcat point in the manual. When I try to open the ssh connection through loopback, the abpttsclient thread show this error:

[2019-02-10 16:51:25.232285] Connecting to 127.0.0.1:22 via http://10.0.2.10:8080/abptts.jsp
[2019-02-10 16:51:25.243503] Server set cookie JSESSIONID=9B9155E5D0CE9F89255F6BE78DECFB3F; Path=/; HttpOnly
[2019-02-10 16:51:25.243681] Error: could not create connection. Raw server response: 3ba5f2cf1aeb0e67b8eb123c6974adefa1743948747412cedaa3264b8d2f&1a487f
[2019-02-10 16:51:25.243721] Unexpected state: child loop exited without closeConnections being set to 1

I am able to see the http://10.0.2.10:8080/abptts.jsp file from the attacker, so I guess the tomcat side is correct.

Any ideas? Thanks in advance.

Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.