Coder Social home page Coder Social logo

osstunnel's Introduction

[toc]

对象存储介绍:对象存储服务是云厂商提供的一种海量、安全、低成本、高可靠的云存储服务,适合存放任意类型的文件。容量和处理能力弹性扩展,多种存储类型供选择,全面优化存储成本。方便业务在任何时间、任何地点、任何互联网设备上进行上传和下载数据。

简介

Lucian(中文名卢锡安)是一款开源的跨平台网站管理工具

不同于市面上其他远控工具,虽然支持各项协议的远控如dns、https、tcp、smtp层出不穷,但是一、各种对Cobra Strike 、冰蝎、恶意dns的流量检测技术逐步完善,从协议的隐蔽性和对抗性来说还远远不够;二、云环境下的渗透测试的目标环境会设置严格的安全组或者在vpc内,不能对外出入流量;三、出入的流量均会经过云安全厂商的检测,存在暴露风险。这款新工具的特点在于:

  1. 基础http协议基于云厂家内部的对象存储,绕过对外连接的安全检测机制
  2. 对象存储支持全球网络,速度快,在使用内部的endpoint时可以无对外流量产生
  3. 使用云bucket作为数据和命令的跳板作为中转,无需cc服务器,保护安全测试人员

​ 适配国内外主流云厂家的应用场景,已经实现的功能有:

  1. 支持windows、linux、mac系统,只要系统上有jdk1.6到jdk12均可运行
  2. 支持多种对象存储协议:亚马逊S3\阿里云OSS\腾讯COS
  3. 内存编译内存运行,无payload文件落地
  4. 全链路https、数据通过Head和put协议走header包发送,隐蔽性高
  5. 支持java调用jni方式执行shell(慎用,不兼容的情况下会导致jvm崩溃从而掉线)
  6. 上线主机数量无限制,后台支持操作命令详细记录

使用介绍:

  1. 安全测试工程师在靶机上编译和运行加载器SennaLoader,当然也可以直接执行java命令运行已编译好的class\jar文件,或者反序列化直接打入这个class。

    执行运行加载器

  2. 加载器从远端下载payload文件Lucian,进行实时内存编译和内存运行(这时候远端的payload文件可以销毁了~)

lucian文件无文件后缀要求,内容为已经正确配置对象存储上线地址

  1. 自动化执行随机间隔心跳和响应命令的功能,启动上线

    在对象存储侧显示已经成功上线

  2. 安全测试工程师配置相应的对象存储地址

    已经正确配置对应的对象存储上线地址

  3. 从远端读取上线主机列表,下发命令、Lucian获取到要执行的命令,执行上报结果

image-20201007234031698

  1. 安全测试完成,执行-k命令,进行卸载删除,程序自毁

    -k指定需要删除的主机id

    java和class文件均已删除

Q&A

问:这个工具和蚁剑、冰蝎,哥斯拉有什么区别?

答:这不是一个webshell管理工具,是用java写的rat,提供了一种新的中转通道思路,本质还是基于http的。

问:需要目标系统什么环境,一定要安装jdk吗?

答:不需要jdk(java开发套件),需要java(java运行环境),只要能执行java命令即可,javac的功能是为了无需考虑目标机器的java版本,一次执行成功。你也可以编译为jar包、打包为exe直接运行。

问:对象存储ak、sk需要什么权限?

答:需要对bucket下的对象的读写权限,为了避免泄露内置的ak、sk,自己搭建bucket的可以设置为公共读写。最好填入你在渗透测试过程中发现的业务自身的ak、sk访问业务bucket,流量更隐蔽。

问:github地址?

答:https://github.com/Ramos-dev/OSSTunnel

问:嗯,还有呢?

答:工具主要面向于合法授权的渗透测试安全人员以及进行常规操作的网站管理员。任何人不得将其用于非法用途以及盈利等目的,否则后果自行承担并将追究其相关责任!

osstunnel's People

Contributors

ramos-dev avatar tomwilson28 avatar

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

osstunnel's Issues

[DepShield] (CVSS 9.8) Vulnerability due to usage of org.bouncycastle:bcprov-jdk15on:1.59

Vulnerabilities

DepShield reports that this application's usage of org.bouncycastle:bcprov-jdk15on:1.59 results in the following vulnerability(s):


Occurrences

org.bouncycastle:bcprov-jdk15on:1.59 is a transitive dependency introduced by the following direct dependency(s):

com.qcloud:cos_api:5.6.8
        └─ org.bouncycastle:bcprov-jdk15on:1.59

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

DepShield encountered errors while building your project

The project could not be analyzed because of build errors. Please review the error messages here. Another build will be scheduled when a change to a manifest file* occurs. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.

* Supported manifest files are: pom.xml, package.json, package-lock.json, npm-shrinkwrap.json, Cargo.lock, Cargo.toml, main.rs, lib.rs, build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts, gradle.properties, gradle-wrapper.properties, go.mod, go.sum

[DepShield] (CVSS 9.8) Vulnerability due to usage of com.fasterxml.jackson.core:jackson-databind:2.9.10

Vulnerabilities

DepShield reports that this application's usage of com.fasterxml.jackson.core:jackson-databind:2.9.10 results in the following vulnerability(s):


Occurrences

com.fasterxml.jackson.core:jackson-databind:2.9.10 is a transitive dependency introduced by the following direct dependency(s):

com.qcloud:cos_api:5.6.8
        └─ com.fasterxml.jackson.core:jackson-databind:2.9.10

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of org.springframework:spring-core:4.3.12.RELEASE

Vulnerabilities

DepShield reports that this application's usage of org.springframework:spring-core:4.3.12.RELEASE results in the following vulnerability(s):


Occurrences

org.springframework:spring-core:4.3.12.RELEASE is a transitive dependency introduced by the following direct dependency(s):

org.springframework.shell:spring-shell-starter:2.0.1.RELEASE
        └─ org.springframework.shell:spring-shell-core:2.0.1.RELEASE
              └─ org.springframework.boot:spring-boot-starter:1.5.8.RELEASE
                    └─ org.springframework:spring-core:4.3.12.RELEASE

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of org.yaml:snakeyaml:1.17

Vulnerabilities

DepShield reports that this application's usage of org.yaml:snakeyaml:1.17 results in the following vulnerability(s):


Occurrences

org.yaml:snakeyaml:1.17 is a transitive dependency introduced by the following direct dependency(s):

org.springframework.shell:spring-shell-starter:2.0.1.RELEASE
        └─ org.springframework.shell:spring-shell-core:2.0.1.RELEASE
              └─ org.springframework.boot:spring-boot-starter:1.5.8.RELEASE
                    └─ org.yaml:snakeyaml:1.17

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

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.