Skip to content

A collaborative, multi-platform, red teaming framework

License

Notifications You must be signed in to change notification settings

tugdualnicolas/Mythic

 
 

Repository files navigation

Mythic

A cross-platform, post-exploit, red teaming framework built with python3, docker, docker-compose, and a web browser UI. It's designed to provide a collaborative and user friendly interface for operators, managers, and reporting throughout red teaming.

Details

Installing Agents and C2 Profiles

The Mythic repository itself does not host any Payload Types or any C2 Profiles. Instead, Mythic provides a command, ./mythic-cli install github <url> [branch name] [-f], that can be used to install agents into a current Mythic instance.

Payload Types are hosted on the MythicAgents organization and C2 Profiles are hosted on the MythiC2Profiles organization.

To install an agent, simply run the script and provide an argument of the path to the agent on GitHub:

sudo ./mythic-cli install github https://github.com/MythicAgents/apfell

The same is true for isntalling C2 Profiles:

sudo ./mythic-cli install github https://github.com/MythicC2Profiles/http

This is a slight departure from previous Mythic versions which included a few default Payload Types and C2 Profiles within this repository. This change allows the agents and c2 profiles to be updated at a much more regular pace and finally separates out the Mythic Core components from the rest of Mythic.

Mythic Container Configurations & PyPi Packages

Mythic uses Docker and Docker-compose for all of its components, which allows Mythic to provide a wide range of components and features without having requirements exist on the host. However, it can be helpful to have insight into how the containers are configured. All of Mythic's docker containers are hosted on DockerHub under itsafeaturemythic.

Additionally, Mythic uses a number of custom PyPi packages to help control and sync information between all of the containers as well as providing an easy way to script access to the server.

All of this can be found on the MythicMeta:

  • Dockerfile configurations for all Docker images uploaded to DockerHub
  • PyPi source code for all packages uploaded to PyPi
  • Scripting source code

Current Container PyPi Package requirements

Supported payload types must have the mythic_payloadtype_container PyPi package of 0.0.43.

  • The Payload Type container reports this as version 7.

Supported c2 profiles must have the mythic_c2_container PyPi package of 0.0.22.

  • The C2 Profile container reports this as version 3.

Supported translation containers must have the mythic_translator_containter PyPi package of 0.0.10.

  • The Translator container reports this as version 3.

Documentation

All documentation for the Mythic project is being maintained on the docs.mythic-c2.net website.

Contributions

A bunch of people have suffered through bug reports, changes, and fixes to help make this project better. Thank you!

The following people have contributed a lot to the project. As you see their handles throughout the project on Payload Types and C2 Profiles, be sure to reach out to them for help and contributions:

Liability

This is an open source project meant to be used with authorization to assess the security posture and for research purposes.

About

A collaborative, multi-platform, red teaming framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.2%
  • Python 32.7%
  • HTML 14.8%
  • CSS 2.1%
  • Other 0.2%