GithubHelp home page GithubHelp logo

userxgnu / covenant-additions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avantguard-cyber-security/covenant-additions

0.0 0.0 0.0 1.48 MB

Some of our additions and modifications for the open source C2 framework Covenant by @cobbr.

HTML 100.00%

covenant-additions's Introduction

Covenant-Additions

Some of our additions and modifications for the open source C2 framework Covenant by @cobbr. These additions are meant to be used with the dev branch of Covenant. They have not been tested on the master branch. Tasks have only been tested with .NET 4.0.

New Tasks

We added some new tasks that have proven to be helpful in our recent work with Covenant. The new tasks are inspired by functionality offered in closed source C2s (mainly BRc4) and are focused around enumeration of processes and their modules, threads, etc.
For more information, use help <task> in Covenant.

CopyTimestampFromFile

Copies the CreationTime and LastWriteTime values from one file to another.

grafik

FindCLRProcess

Enumerate through all running processes to find those that have a CLR loaded.

grafik

grafik

FindProcessWithDll

Enumerate through all running processes to find those that have the required DLL loaded.

grafik

grafik

ListDevices

List the devices present on a system, allows filtering.

grafik

grafik

grafik

ListDrives

Lists the local drives on a system, including removable drives.

grafik

grafik

ListExports

List all the exports of a DLL loaded in the current process.

grafik

grafik

ListModules

Enumerates the loaded modules of a specified process.

grafik

grafik

ListOpenWindows

Lists the titles of all open windows. There are some exceptions when the main window is hidden (such as explorer.exe).

grafik

grafik

ListThreads

Enumerates threads and their states in a specified process.

grafik

grafik

ProcessWatcher

Continuously watches new process creation events and notifies the operator.

grafik

grafik

RunPE

Reflective loader for unmanaged binaries.

grafik

grafik

SecurityWatcher

Continuously watches new security events and notifies the operator.

grafik

grafik

SetTimestampOnFile

Sets the CreationTime and LastWriteTime values on a target file.

grafik

Modified Tasks

We edited some existing tasks to better suit our needs.

Rubeus

Updated the task to allow Rubeus to be upgraded to version 2.2.0 (see this blog post for more information).

ProcessList

Now allows filtering the output in a grep style with the optional parameter SearchString. If the parameter is left empty, the default output (all running processes) will be returned.

grafik

All strings of the output can be matched, so it is also possible to filter for specific PIDs, PPIDs, owners, paths etc. The following screenshot takes the PPID of the previously identified notepad process to search for the parent process and its other child processes.

grafik

covenant-additions's People

Contributors

avantguard-cyber-security avatar jannlemm0913 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.