A set of libraries to help be a bridge between Sleep and Python, helping to automate payload development, testing, opsec checking, beacon tasking, and deployment for Cobalt Strike
Project description
What is Payload Automation?
Now available as a PyPi package: https://pypi.org/project/payload-automation/
Payload Automation is a collection of Python classes to serve as a bridge between Sleep and Python which can be used to help automate payload development, testing, opsec checking, and deployment with Cobalt Strike or anything else you can come up with.
Please check out the examples folder for pre-made scripts taking advantage of the functionality provided.
Included Libraries:
- Striker: A set of functions to interact with Cobalt Strike and execute functionality typically only accessible via Sleep/GUI.
- Compyler: A set of functions to compile various payloads from platform or cross-platform.
- Artifactor: A set of functions to inspect and review artifacts and collect and track IoCs.
- Sleepy: A set of functions to help facilitate a bridge between Sleep objects and Python objects.
- Detemplate: An incomplete idea of mine to automate the population of template files based on YAML configurations. Meant to be used with more complex payloads with multiple replacements and/or embedding.
Other associated work and credits:
- Original idea for Striker and some code snipets came from the functionality of Verizon's redshell tool (https://github.com/Verizon/redshell)
- A similar tool called pycobalt (https://github.com/dcsync/pycobalt) which is worth checking out to see if it better fits your use cases
- Joe Vest leveraged our libraries to facilicate logging, payload automation, and reporting. Check out his blog post here (https://blog.cobaltstrike.com/2021/10/13/cobalt-strike-sleep-python-bridge/)
TODO:
- Add additional error checking, specifically for application dependencies
- Expand compyler to include remote builds and mingw
- Add email functionality to Striker
- Add extraction of profile for OPSEC checks
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file payload_automation-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: payload_automation-1.1.0-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e71c9b41250e74e0265e2607842051191d07cd9fbfcdb2db23490871f7d8288 |
|
MD5 | c3eae9c0168a09cc9488086d7dfe7ef9 |
|
BLAKE2b-256 | 126b65fd245d22d1c5af825c5bcc67596c983be9faebe7957bef70d600abf224 |