pybeacon: dealing with Cobalt Strike beacons in Python
PyBeacon
PyBeacon is a collection of scripts for dealing with Cobalt Strike’s encrypted traffic.
It can encrypt/decrypt beacon metadata, as well as parse symmetrically encrypted taskings
Scripts included
There is a small library that includes encryption/decoding methods, however, some example scripts are included.
- stager-decode.py – this tool will simply decode a beacon DLL from a stager URL (you can use it to extract the public key).
- register.py – this tool deals with RSA encrypted metadata and can register a new (fake) beacon on a target Teamserver.
- tasktool.py – this tool deals with AES encrypted taskings to/from the teamserver. Use it to send callbacks to the teamserver, or for decoding taskings from a Teamserver to the beacon.
Download
git clone https://github.com/nccgroup/pybeacon.git
Source: https://github.com/nccgroup/