GithubHelp home page GithubHelp logo

payloadautomation's Introduction

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:

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

payloadautomation's People

Contributors

emcghee avatar jahawkins avatar

Stargazers

Vladimir Alekseev avatar  avatar Life avatar m4lwhere avatar recar avatar 網子上的蜘蛛 avatar David Barnett avatar AVA avatar Ed avatar  avatar ❌Em Dawg❌ avatar Cosmos avatar Eugene Dobrodeev avatar techris avatar Nate Subra avatar SovereignComrade avatar  avatar  avatar  avatar Robert avatar 5l1v3r1 avatar  avatar  avatar henhao avatar  avatar  avatar biubiu avatar Nick Brown avatar cwinfosec avatar Ryota Sakai avatar  avatar Byungho avatar Jacob Davenport avatar John Adams avatar Tasos Meletlidis avatar zer0lightning avatar Jan Trikatel avatar Devin Casadey avatar 8ad8ird avatar Spartanq avatar  avatar Gunnar Jones avatar tt avatar Didier A avatar Terry  avatar Aekr1_         //akrasia avatar  avatar NULL avatar Solomon Sklash avatar  avatar no surrendering avatar  avatar xnianq avatar  avatar M4rtin Hsu avatar Borja Merino avatar Curtis Ringwald avatar crusher avatar Tom Tom avatar  avatar Ivan Topor avatar  avatar Philip avatar Jules avatar youngmasternick avatar Taro avatar  avatar Abell avatar Jas502n avatar B0y1n4o4 avatar Noah avatar  avatar mrz-secops-offsec avatar  avatar  avatar LawlessCarrot avatar m3dsec avatar Mariusz Banach avatar Paul G. avatar Krish Paul avatar  avatar beerandgin avatar guly avatar Ali Rathore avatar  avatar  avatar  avatar Coldfusion avatar Curtis Houghton avatar O.T Osman avatar  avatar JP avatar Matthew Conway avatar  avatar 0xdeadbeefJERKY avatar φ-Z avatar  avatar Michael Eder avatar JK.Ryan avatar bronny avatar

Watchers

 avatar  avatar z3r0yu avatar SkyBulk avatar

payloadautomation's Issues

[Feature Request] Pulling Indicators

A function that pulls the indicators. Example Python code:

`def getUploads(self):
files = []
file = {}

multiline = """
@iocs = @();
foreach $entry (archives()) {
	if ($entry['type'] eq 'indicator') {
		$rex = 'file: (.*?) ([0-9]*?) bytes (.*?)$';

		# values per each upload are md5, bytes, path
		@upload = matches($entry['data'], $rex);

		# See if the bytes were greater than 0, otherwise it was a failed upload
		if (@upload[1] > 0) {
			%%ioc = %(computer => beacon_info($entry['bid'], 'computer'), user => beacon_info($entry['bid'], 'user'), when => $entry['when'], md5 => @upload[0], bytes => @upload[1], path => @upload[2]);
			add(@iocs, %%ioc);
		}
	}
}
return @iocs;
"""
return self.ag_get_object_multiline(multiline)`

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.