Skip to content

DaveTheBearMan/Keydra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keydra_1024 Aegis_1024

Keydra & Aegis

Keydra is gonna be the raw sockets tool. Aegis is the command server which uses Keydra on the backend to connect to clients.

Considering making the C2 a deep state C2 (very long call back times to avoid detection, provide TTNCB in packet to client each time the server communicates) (Time To Next Call Back). Basically NTP guess work

Aegis

Right now, Aegis (on the server side) is going to be comprised of:

  • A central API server for end users (God willing, containerized)
  • A central Redis server (containerized)
  • A central server for handling the raw sockets

Per end user, the Aegis CLI (right now this is also on the server..) will:

  • Review logs (Command execution history, responses, client connection list, etc)
  • Push commands to redis so the raw sockets server can read and send to clients
  • Save scripts to run against hosts, and review things which have previously run (this is the first bullet but why im doing it)
  • Pattern match from existing hosts (in real time?) thru regex (hopefully) to capture who commands are run against
  • Alias commands to be used multiple times (Including keydra calls- ex: regex for hosts in current list matching a pattern, compare against old hosts, and run on any new ones?)
  • Save variables to be referenced in aliased commands? Could be cool
  • Event driven logic (Host connects, run some kind of persistence script? Possibly build in P2P c2 functionality with raw socket tool to alert who is available thru the new host?)

Keydra

Raw Socket was written by https://github.com/oneNutW0nder/CatTails I am adding some features and trying to fix some of the problems, but really, all the hard work was done by him

See his talk on it here: https://www.youtube.com/watch?v=BwfRsTK4PS0

Or his article on it here: https://ritcsec.wordpress.com/2020/04/28/internals-of-cattails-a-c2-bot-framework-2/

About

Command, Control, Containerize, Buzzword

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages